Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Jun 28, 2024
1 parent d276ed1 commit f90be8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions c++/cavl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
/// be costly in terms of execution time.
#ifndef CAVL_ASSERT
# if defined(CAVL_NO_ASSERT) && CAVL_NO_ASSERT
# // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) function-like macro
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) function-like macro
# define CAVL_ASSERT(x) (void) 0 /* NOSONAR cpp:S960 */
# else
# include <cassert>
# // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) function-like macro
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) function-like macro
# define CAVL_ASSERT(x) assert(x) /* NOSONAR cpp:S960 */
# endif
#endif
Expand Down
3 changes: 2 additions & 1 deletion c++/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include "cavl.hpp"

#include <unity.h>

#include <algorithm>
#include <array>
#include <cstdint>
Expand All @@ -16,7 +18,6 @@
#include <sstream>
#include <string>
#include <type_traits>
#include <unity.h>
#include <vector>

#if __cplusplus >= 201703L
Expand Down

0 comments on commit f90be8e

Please sign in to comment.