aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_System.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-09-29 19:28:00 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-09-29 19:28:00 -0700
commit8ed88af8c9cf2ed2e6fd573b2cd5dc2b41b55625 (patch)
tree24ac9076f262e58f835a4a0f4bebaa02a336b512 /toolsrc/src/vcpkg_System.cpp
parenta4ab4fd24150e0c1341aa05192b6cc9c12c57c49 (diff)
downloadvcpkg-8ed88af8c9cf2ed2e6fd573b2cd5dc2b41b55625.tar.gz
vcpkg-8ed88af8c9cf2ed2e6fd573b2cd5dc2b41b55625.zip
Rename wchar_t overload of Strings::format() to wformat()
Diffstat (limited to 'toolsrc/src/vcpkg_System.cpp')
-rw-r--r--toolsrc/src/vcpkg_System.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg_System.cpp b/toolsrc/src/vcpkg_System.cpp
index 71b4087d2..4dc37857d 100644
--- a/toolsrc/src/vcpkg_System.cpp
+++ b/toolsrc/src/vcpkg_System.cpp
@@ -19,14 +19,14 @@ namespace vcpkg {namespace System
int cmd_execute(const wchar_t* cmd_line)
{
// Basically we are wrapping it in quotes
- const std::wstring& actual_cmd_line = Strings::format(LR"###("%s")###", cmd_line);
+ const std::wstring& actual_cmd_line = Strings::wformat(LR"###("%s")###", cmd_line);
int exit_code = _wsystem(actual_cmd_line.c_str());
return exit_code;
}
exit_code_and_output cmd_execute_and_capture_output(const wchar_t* cmd_line)
{
- const std::wstring& actual_cmd_line = Strings::format(LR"###("%s")###", cmd_line);
+ const std::wstring& actual_cmd_line = Strings::wformat(LR"###("%s")###", cmd_line);
std::string output;
char buf[1024];