From e269ab089724f3a7775146a1fbbbfe2bdc9be8b5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 19 Jun 2020 11:31:13 +0200 Subject: Get rid of unnecessary copy --- libbuild2/dump.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 << '%'; -- cgit v1.1