Make parameter const

This commit is contained in:
Alexander Karatarakis 2016-11-06 20:12:21 -08:00
parent 83ffbf028f
commit a6821438bc

View File

@ -51,7 +51,7 @@ namespace vcpkg
}
// At this point there is 1 argument
do_print(paths, [&](std::string& port_name) -> bool
do_print(paths, [&](const std::string& port_name) -> bool
{
return Strings::case_insensitive_ascii_find(port_name, args.command_arguments[0]) != port_name.end();
});