From 0962f46650342e9860d585b117c91a8d9fc5bb25 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sat, 26 Dec 2020 16:57:13 +0100 Subject: [PATCH] refs #81, remove usage of string_view literal due to vs2017 issue --- test/filesystem_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index d473213..3d0b69a 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -2701,7 +2701,7 @@ TEST_CASE("std::string_view support", "[filesystem][fs.string_view]") } { auto p = fs::path{"XYZ"}; - p /= "Appendix"sv; + p /= std::string_view("Appendix"); CHECK(p == "XYZ/Appendix"); } #if defined(IS_WCHAR_PATH) || defined(GHC_USE_WCHAR_T)