diff --git a/test/compiling_tests_11.cpp b/test/compiling_tests_11.cpp index 7062446a..61c9f255 100644 --- a/test/compiling_tests_11.cpp +++ b/test/compiling_tests_11.cpp @@ -4529,7 +4529,7 @@ TEST_CASE_METHOD( "[C++11][C++14][streaming]") { std::ostringstream os; - trompeloeil::print(os, my_input_range{{42, 43, 44}}); + trompeloeil::print(os, my_input_range{std::vector{42, 43, 44}}); const std::string printResult{os.str()}; const std::string expectedPrefix{std::to_string(sizeof(my_input_range)) + "-byte object={"};