diff options
Diffstat (limited to 'build2/scope.hxx')
-rw-r--r-- | build2/scope.hxx | 6 |
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) |