summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-06 18:56:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-06 19:03:48 +0200
commitbd8c51e7d9b0d7f0c938c6c1d94f1eba17ec494d (patch)
treee095fc3945d6c68db4adaa8bda2b8d3a5af5e50d
parenta20105cd47483fa2e1d769429dd7d09114a9d586 (diff)
add NOLINT
-rw-r--r--src/hole-cut.cpp4
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);
}