aboutsummaryrefslogtreecommitdiff
path: root/build2/scope
diff options
context:
space:
mode:
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&