diff --git a/tests/testing/algorithms/UndefinedBehaviour.cpp b/tests/testing/algorithms/UndefinedBehaviour.cpp index 145995ab1beaac26cc318f818181a39f9a2bdfe5..f3190e7f6a0d74211b7e5a5a6215234f18089583 100644 --- a/tests/testing/algorithms/UndefinedBehaviour.cpp +++ b/tests/testing/algorithms/UndefinedBehaviour.cpp @@ -9,7 +9,7 @@ namespace debug { int UndefinedBehaviour::undefined_behaviour ( ) { int a = 5; // NOLINT(readability-magic-numbers) // just some random number - int * b = reinterpret_cast < int * > ( reinterpret_cast < size_t > ( & a ) + 1 ); + int * b = reinterpret_cast < int * > ( reinterpret_cast < size_t > ( & a ) + 1 ); //NOLINT(performance-no-int-to-ptr) // well we just test undefined behavior detection return * b; }