diff options
Diffstat (limited to 'third_party/nix/src/libmain/common-args.cc')
-rw-r--r-- | third_party/nix/src/libmain/common-args.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libmain/common-args.cc b/third_party/nix/src/libmain/common-args.cc index 9d6f6445c0e7..3d9b8ebfaefd 100644 --- a/third_party/nix/src/libmain/common-args.cc +++ b/third_party/nix/src/libmain/common-args.cc @@ -26,7 +26,7 @@ MixCommonArgs::MixCommonArgs(const string& programName) .shortName('j') .label("jobs") .description("maximum number of parallel builds") - .handler([=](std::string s) { settings.set("max-jobs", s); }); + .handler([=](const std::string& s) { settings.set("max-jobs", s); }); std::string cat = "config"; globalConfig.convertToArgs(*this, cat); |