aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_integration.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/commands_integration.cpp
parenta4ab4fd24150e0c1341aa05192b6cc9c12c57c49 (diff)
downloadvcpkg-8ed88af8c9cf2ed2e6fd573b2cd5dc2b41b55625.tar.gz
vcpkg-8ed88af8c9cf2ed2e6fd573b2cd5dc2b41b55625.zip
Rename wchar_t overload of Strings::format() to wformat()
Diffstat (limited to 'toolsrc/src/commands_integration.cpp')
-rw-r--r--toolsrc/src/commands_integration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_integration.cpp b/toolsrc/src/commands_integration.cpp
index aa10e210b..743a57a70 100644
--- a/toolsrc/src/commands_integration.cpp
+++ b/toolsrc/src/commands_integration.cpp
@@ -238,7 +238,7 @@ namespace vcpkg
exit(EXIT_SUCCESS);
}
- const std::wstring cmd_line = Strings::format(LR"(DEL "%s")", get_appdata_targets_path().native());
+ const std::wstring cmd_line = Strings::wformat(LR"(DEL "%s")", get_appdata_targets_path().native());
const int exit_code = System::cmd_execute(cmd_line);
if (exit_code)
{
@@ -269,7 +269,7 @@ namespace vcpkg
std::ofstream(nuspec_file_path) << create_nuspec_file(paths.root, nuget_id, nupkg_version);
// Using all forward slashes for the command line
- const std::wstring cmd_line = Strings::format(LR"(nuget.exe pack -OutputDirectory "%s" "%s" > nul)", buildsystems_dir.native(), nuspec_file_path.native());
+ const std::wstring cmd_line = Strings::wformat(LR"(nuget.exe pack -OutputDirectory "%s" "%s" > nul)", buildsystems_dir.native(), nuspec_file_path.native());
const int exit_code = System::cmd_execute(cmd_line);