diff --git a/iceoryx_hoofs/test/moduletests/test_utility_convert.cpp b/iceoryx_hoofs/test/moduletests/test_utility_convert.cpp index 4f0f9444a1..0d17481ca4 100644 --- a/iceoryx_hoofs/test/moduletests/test_utility_convert.cpp +++ b/iceoryx_hoofs/test/moduletests/test_utility_convert.cpp @@ -339,7 +339,7 @@ TEST_F(convert_test, fromString_Integer_InvalidTrailingChar_Fail) } }; - std::apply([&](auto... args) { (..., expect_failure(args)); }, IntegerType{}); + std::apply([&expect_failure](auto... args) { (..., expect_failure(args)); }, IntegerType{}); } /// SINGED INTEGRAL EDGE CASES START