diff options
Diffstat (limited to 'third_party/nix/src/libexpr/common-eval-args.cc')
-rw-r--r-- | third_party/nix/src/libexpr/common-eval-args.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/common-eval-args.cc b/third_party/nix/src/libexpr/common-eval-args.cc index 7a87841c9b77..33319cbabb17 100644 --- a/third_party/nix/src/libexpr/common-eval-args.cc +++ b/third_party/nix/src/libexpr/common-eval-args.cc @@ -29,7 +29,7 @@ MixEvalArgs::MixEvalArgs() { "add a path to the list of locations used to look up <...> file " "names") .label("path") - .handler([&](std::string s) { searchPath.push_back(s); }); + .handler([&](const std::string& s) { searchPath.push_back(s); }); } Bindings* MixEvalArgs::getAutoArgs(EvalState& state) { |