From 650d61845b3f61e9596a8a2dc97458998ba26013 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Jul 2015 14:40:15 +0200 Subject: Implement automatic amalgamation discovery --- build/scope | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'build/scope') diff --git a/build/scope b/build/scope index d1cd941..817ee95 100644 --- a/build/scope +++ b/build/scope @@ -70,16 +70,10 @@ namespace build // returned. // value_proxy - assign (const variable& var) - { - return vars.assign (var); - } + assign (const variable& var) {return vars.assign (var).first;} value_proxy - assign (const std::string& name) - { - return assign (variable_pool.find (name)); - } + assign (const std::string& name) {return vars.assign (name).first;} // Return a value_proxy suitable for appending. If the variable // does not exist in this scope's map, then outer scopes are -- cgit v1.1