From cf264c52f75f88401d9a5a29647600ce6e7043ee Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 3 Feb 2021 22:54:51 +0000 Subject: [PATCH] .reference git-svn-id: svn://ultimatepp.org/upp/trunk@15734 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- autotest/StdString/StdString.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autotest/StdString/StdString.cpp b/autotest/StdString/StdString.cpp index fe4498806..09ad6f68f 100644 --- a/autotest/StdString/StdString.cpp +++ b/autotest/StdString/StdString.cpp @@ -7,25 +7,25 @@ CONSOLE_APP_MAIN StdLogSetup(LOG_COUT|LOG_FILE); { String h = "Hello world"; - std::string sh = h; + std::string sh = h.ToStd(); DDUMP(sh); h = sh; DDUMP(h); Value v = sh; DDUMP(v); - sh = v; + sh = v.ToStd(); DDUMP(sh); } { WString h = "Hello world"; - std::wstring sh = h; + std::wstring sh = h.ToStd(); DDUMP(sh); h = sh; DDUMP(h); Value v = sh; DDUMP(v); - sh = v; + sh = v.ToWStd(); DDUMP(sh); } CheckLogEtalon();