aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_System.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-08-28 19:29:12 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-08-28 19:54:01 -0700
commit992f192c5e937f22877117e64ff7a38a6447c4bc (patch)
tree3369cf38cc8ae430637128c5e6b2e09a1da06f8a /toolsrc/src/vcpkg_System.cpp
parent5b91a84230e85e8f560fb78de1fd4bf6b68e8756 (diff)
downloadvcpkg-992f192c5e937f22877117e64ff7a38a6447c4bc.tar.gz
vcpkg-992f192c5e937f22877117e64ff7a38a6447c4bc.zip
Add System::println() with no args
Diffstat (limited to 'toolsrc/src/vcpkg_System.cpp')
-rw-r--r--toolsrc/src/vcpkg_System.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg_System.cpp b/toolsrc/src/vcpkg_System.cpp
index 481f2431e..c48f719e1 100644
--- a/toolsrc/src/vcpkg_System.cpp
+++ b/toolsrc/src/vcpkg_System.cpp
@@ -48,8 +48,8 @@ namespace vcpkg::System
std::vector<CPUArchitecture> supported_architectures;
supported_architectures.push_back(get_host_processor());
- //AMD64 machines support to run x86 applications
- if(supported_architectures.back()==CPUArchitecture::X64)
+ // AMD64 machines support to run x86 applications
+ if (supported_architectures.back() == CPUArchitecture::X64)
{
supported_architectures.push_back(CPUArchitecture::X86);
}
@@ -211,6 +211,8 @@ namespace vcpkg::System
LR"(powershell -NoProfile -ExecutionPolicy Bypass -Command "& {& '%s' %s}")", script_path.native(), args);
}
+ void println() { println(Strings::EMPTY); }
+
void print(const CStringView message) { fputs(message, stdout); }
void println(const CStringView message)