diff --git a/renderdoc/replay/basic_types_tests.cpp b/renderdoc/replay/basic_types_tests.cpp index 7c44eddb3..cb508091e 100644 --- a/renderdoc/replay/basic_types_tests.cpp +++ b/renderdoc/replay/basic_types_tests.cpp @@ -1779,7 +1779,7 @@ TEST_CASE("Test string type", "[basictypes][string]") SECTION("Inflexible string tests") { - rdcinflexiblestr test = "Hello, World"; + rdcinflexiblestr test = rdcstr("Hello, World"); CHECK(test == "Hello, World"); CHECK(test == "Hello, World"_lit);