diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-19 11:31:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-19 11:31:13 +0200 |
commit | e269ab089724f3a7775146a1fbbbfe2bdc9be8b5 (patch) | |
tree | 0c4bdf897371cc56b940048043df302ba4b26ec4 /libbuild2 | |
parent | 112a83c346a537f1a5eac6fc17ee2ce3143d625b (diff) |
Get rid of unnecessary copy
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/dump.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/dump.cxx b/libbuild2/dump.cxx index 11eb4b3..95c7cae 100644 --- a/libbuild2/dump.cxx +++ b/libbuild2/dump.cxx @@ -352,7 +352,7 @@ namespace build2 { auto& re (*s.root_scope ()->root_extra); - for (const adhoc_recipe r: t.adhoc_recipes) + for (const adhoc_recipe& r: t.adhoc_recipes) { os << endl << ind << '%'; |