diff --git a/tests/string_view_tests.cpp b/tests/string_view_tests.cpp index 84b7f3f..fb57845 100644 --- a/tests/string_view_tests.cpp +++ b/tests/string_view_tests.cpp @@ -45,7 +45,7 @@ SUITE(string_view_tests) TEST(TestConstructFromStdVector) { - std::vector vec('h', 5); + std::vector vec(5, 'h'); string_view<> v = vec; CHECK(v.length() == vec.size()); }