Use char instead of string when string-searching for a single char
MODIFY
src/vcpkg/commands.hash.cpp
src/vcpkg/commands.hash.cpp
@@ -17,7 +17,7 @@ namespace vcpkg::Commands::Hash
std::string const& output = ec_data.output;
- const auto start = output.find_first_of(" ");
+ const auto start = output.find_first_of(' ');
Checks::check_exit(
VCPKG_LINE_INFO, start != std::string::npos, "Unexpected output format from command: %s", cmd_line);

Use char instead of string when string-searching for a single char