aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_hash.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-12 15:10:29 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-12 15:10:29 -0800
commit9796e2532cc34896e38a6c0702e538454ffb5586 (patch)
tree6ba2d671d3facfc34abdf716123b0b3b239d8f97 /toolsrc/src/commands_hash.cpp
parentc77be8f221dbbb7b38c74ce382be9b4dbb4d296b (diff)
downloadvcpkg-9796e2532cc34896e38a6c0702e538454ffb5586.tar.gz
vcpkg-9796e2532cc34896e38a6c0702e538454ffb5586.zip
Use System::println(std::string&) overload
Diffstat (limited to 'toolsrc/src/commands_hash.cpp')
-rw-r--r--toolsrc/src/commands_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_hash.cpp b/toolsrc/src/commands_hash.cpp
index 42d1823fa..0e3e8a77c 100644
--- a/toolsrc/src/commands_hash.cpp
+++ b/toolsrc/src/commands_hash.cpp
@@ -20,7 +20,7 @@ namespace vcpkg
auto hash = output.substr(start, end - start);
hash.erase(std::remove_if(hash.begin(), hash.end(), isspace), hash.end());
- System::println(hash.c_str());
+ System::println(hash);
}
void hash_command(const vcpkg_cmd_arguments& args)