mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
refs #81, remove usage of string_view literal due to vs2017 issue
This commit is contained in:
parent
eef2c2ba55
commit
0962f46650
@ -2701,7 +2701,7 @@ TEST_CASE("std::string_view support", "[filesystem][fs.string_view]")
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
auto p = fs::path{"XYZ"};
|
auto p = fs::path{"XYZ"};
|
||||||
p /= "Appendix"sv;
|
p /= std::string_view("Appendix");
|
||||||
CHECK(p == "XYZ/Appendix");
|
CHECK(p == "XYZ/Appendix");
|
||||||
}
|
}
|
||||||
#if defined(IS_WCHAR_PATH) || defined(GHC_USE_WCHAR_T)
|
#if defined(IS_WCHAR_PATH) || defined(GHC_USE_WCHAR_T)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user