diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-06 18:56:10 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-06 19:03:48 +0200 |
commit | bd8c51e7d9b0d7f0c938c6c1d94f1eba17ec494d (patch) | |
tree | e095fc3945d6c68db4adaa8bda2b8d3a5af5e50d | |
parent | a20105cd47483fa2e1d769429dd7d09114a9d586 (diff) |
add NOLINT
-rw-r--r-- | src/hole-cut.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hole-cut.cpp b/src/hole-cut.cpp index bb27c10b..1ecf96ce 100644 --- a/src/hole-cut.cpp +++ b/src/hole-cut.cpp @@ -40,8 +40,8 @@ template<typename T> using Vec2สน = VectorTypeFor<2, T>; constexpr element make_element(uint8_t s) { + // NOLINTBEGIN(*-simplify, *-redundant-expression) // ReSharper disable CppIdenticalOperandsInBinaryExpression - // NOLINTBEGIN(*-simplify) switch (s) { using enum location; @@ -118,8 +118,8 @@ constexpr element make_element(uint8_t s) {R0, H0, H0, R1}, }}}; } - // NOLINTEND(*-simplify) // ReSharper restore CppIdenticalOperandsInBinaryExpression + // NOLINTEND(*-simplify, *-redundant-expression) fm_assert(false); } |