diff --git a/tests/unit/test_random_engine.cpp b/tests/unit/test_random_engine.cpp index da673ef4d..b36005d08 100644 --- a/tests/unit/test_random_engine.cpp +++ b/tests/unit/test_random_engine.cpp @@ -47,7 +47,7 @@ TEST_CASE("random engine: the lazily seeded engine draws as one seeded up front TEST_CASE("random engine: the lazy engine is seeded at the first draw only, and stands ahead of the thread's engine") { std::mt19937 threadengine{1u}; // NOSONAR: randomness of the simulation, not of anything security-relevant - auto const untouched{threadengine}; + auto const untouched{threadengine}; // NOSONAR: randomness of the simulation, not of anything security-relevant set_thread_random_engine(&threadengine); lazy_random_engine lazy;