From 699e3bc87d1cbb3c2b19ddaf5db37909cb49f47b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Jan 2017 12:38:06 +0200 Subject: Remove prerequisite caching in scope We don't share them often and those that are shared (e.g., cxx{} in obja/objs{}) are lightweight (SOO). --- build2/algorithm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/algorithm.cxx') diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index 22633bb..f3bb8a0 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -277,7 +277,7 @@ namespace build2 void search_and_match_prerequisites (action a, target& t, scope* s) { - for (prerequisite p: group_prerequisites (t)) + for (prerequisite& p: group_prerequisites (t)) { target& pt (search (p)); -- cgit v1.1