From 530eca8461800e89ebcee1257ca32ca8b3198c4f Mon Sep 17 00:00:00 2001 From: hyzboy Date: Mon, 30 Sep 2024 23:31:54 +0800 Subject: [PATCH] support c++20 --- datatype/SplitStringTest.cpp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/datatype/SplitStringTest.cpp b/datatype/SplitStringTest.cpp index 2866206..24e10f3 100644 --- a/datatype/SplitStringTest.cpp +++ b/datatype/SplitStringTest.cpp @@ -1,5 +1,4 @@ #include -#include #include using namespace hgl; @@ -10,7 +9,7 @@ void Output(UTF8StringList &sl,const char *str) cout<\n" "#include\"world.h\"\n"; - SplitToStringListByChars(sl,str,UTF8String("<>\"\n")); + SplitToStringListByChars(sl,str,UTF8String(u8"<>\"\n")); Output(sl,"SplitToStringListByChars"); }