aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
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));