mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
Make parameter const
This commit is contained in:
parent
83ffbf028f
commit
a6821438bc
@ -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();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user