aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-19 11:31:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-19 11:31:13 +0200
commite269ab089724f3a7775146a1fbbbfe2bdc9be8b5 (patch)
tree0c4bdf897371cc56b940048043df302ba4b26ec4
parent112a83c346a537f1a5eac6fc17ee2ce3143d625b (diff)
Get rid of unnecessary copy
-rw-r--r--libbuild2/dump.cxx2
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 << '%';