aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/commands_search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_search.cpp b/toolsrc/src/commands_search.cpp
index 771b43507..2eb35b223 100644
--- a/toolsrc/src/commands_search.cpp
+++ b/toolsrc/src/commands_search.cpp
@@ -43,7 +43,7 @@ namespace vcpkg
if (args.command_arguments.size() == 0)
{
- do_print(paths, [](std::string&) -> bool
+ do_print(paths, [](const std::string&) -> bool
{
return true;
});