aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_hash.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-14 16:01:19 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-14 16:01:19 -0700
commit1c08a42091cb0addd1e0c1daf27d24bf4e9d237f (patch)
treef8c69e701dfae791fe180a8c24b35a4195668afd /toolsrc/src/commands_hash.cpp
parent23366aede0cb1ccfeac85a28308bc722811b18bc (diff)
parentb3541eff15847b2cc90736a609b8c6f99ce74a9d (diff)
downloadvcpkg-1c08a42091cb0addd1e0c1daf27d24bf4e9d237f.tar.gz
vcpkg-1c08a42091cb0addd1e0c1daf27d24bf4e9d237f.zip
Merge from master
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 a9024d9e7..b6355dfbd 100644
--- a/toolsrc/src/commands_hash.cpp
+++ b/toolsrc/src/commands_hash.cpp
@@ -21,7 +21,7 @@ namespace vcpkg::Commands::Hash
Checks::check_exit(VCPKG_LINE_INFO, end != std::string::npos, "Unexpected output format from command: %s", Strings::utf16_to_utf8(cmd_line));
auto hash = output.substr(start, end - start);
- Util::keep_if(hash, [](char c) {return !isspace(c); });
+ Util::erase_remove_if(hash, isspace);
System::println(hash);
}