aboutsummaryrefslogtreecommitdiff
path: root/build2/prerequisite.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/prerequisite.cxx')
-rw-r--r--build2/prerequisite.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/prerequisite.cxx b/build2/prerequisite.cxx
index b8c1791..7a74f76 100644
--- a/build2/prerequisite.cxx
+++ b/build2/prerequisite.cxx
@@ -80,7 +80,7 @@ namespace build2
value& prerequisite::
append (const variable& var, const target_type& t)
{
- if (value* r = vars.find_to_modify (var))
+ if (value* r = vars.find_to_modify (var).first)
return *r;
value& r (assign (var)); // NULL.