aboutsummaryrefslogtreecommitdiff
path: root/build2/scope
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-28 09:14:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-28 16:03:35 +0200
commit3ce44330cca9dbc4314feebb27403ebc3175b6c2 (patch)
tree8c1f27442f3b2dafaec3ba50baaca3d5fd63dca7 /build2/scope
parent9d0d078ff297138622cd2f3f1076f5984395e42b (diff)
New variable architecture
Diffstat (limited to 'build2/scope')
-rw-r--r--build2/scope5
1 files changed, 1 insertions, 4 deletions
diff --git a/build2/scope b/build2/scope
index e92361d..9878e7f 100644
--- a/build2/scope
+++ b/build2/scope
@@ -141,10 +141,7 @@ namespace build2
assign (const variable& var) {return vars.assign (var).first.get ();}
value&
- assign (const string& name, const build2::value_type* type = nullptr)
- {
- return vars.assign (name, type).first.get ();
- }
+ assign (const string& name) {return vars.assign (name).first.get ();}
template <typename T>
value&