aboutsummaryrefslogtreecommitdiff
path: root/build2/variable
diff options
context:
space:
mode:
Diffstat (limited to 'build2/variable')
-rw-r--r--build2/variable4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/variable b/build2/variable
index 0d5b375..5ff310a 100644
--- a/build2/variable
+++ b/build2/variable
@@ -779,9 +779,9 @@ namespace build2
}
std::pair<std::reference_wrapper<value>, bool>
- assign (const std::string& name)
+ assign (const std::string& name, const build2::value_type* type = nullptr)
{
- return assign (var_pool.find (name));
+ return assign (var_pool.find (name, type));
}
std::pair<const_iterator, const_iterator>