aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/base/platform/win/StreamTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/base/platform/win/StreamTest.cpp b/test/base/platform/win/StreamTest.cpp
index e1a6e4fe..f42fc5c2 100644
--- a/test/base/platform/win/StreamTest.cpp
+++ b/test/base/platform/win/StreamTest.cpp
@@ -16,7 +16,7 @@ TEST_CASE("StreamConvert FileStreamWork", "[stream]") {
.native();
_wmktemp(temp_file_path.data());
- std::string path = string::ToUtf8(temp_file_path);
+ std::string path = string::ToUtf8String(temp_file_path);
ComStream file(path, OpenFileFlags::Write | OpenFileFlags::Create);
file.Write("abc", 3);
@@ -46,7 +46,7 @@ TEST_CASE("ComStream Work", "[stream]") {
.native();
_wmktemp(temp_file_path.data());
- std::string path = string::ToUtf8(temp_file_path);
+ std::string path = string::ToUtf8String(temp_file_path);
ComStream file(path, OpenFileFlags::Write | OpenFileFlags::Create);
auto write_count = file.Write("abc", 3);