aboutsummaryrefslogtreecommitdiff
path: root/build2/scope.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-23 14:25:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-26 09:38:09 +0200
commitf98262e37f608330fcfce799dcacc6fbacac8f8a (patch)
tree080ef26d80ee6419ef3a2f27434d75136f502cb2 /build2/scope.hxx
parentc414abe13450e2b4e204f6368ba83c8916de1ebd (diff)
Implement forwarded configurations and backlinking
Diffstat (limited to 'build2/scope.hxx')
-rw-r--r--build2/scope.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/build2/scope.hxx b/build2/scope.hxx
index 5d0fcd8..0bfd76e 100644
--- a/build2/scope.hxx
+++ b/build2/scope.hxx
@@ -146,11 +146,7 @@ namespace build2
assign (const variable& var) {return vars.assign (var);}
value&
- assign (const variable* var) // For cached variables.
- {
- assert (var != nullptr);
- return vars.assign (*var);
- }
+ assign (const variable* var) {return vars.assign (var);} // For cached.
value&
assign (string name)