diff options
Diffstat (limited to 'build2/config/utility.txx')
-rw-r--r-- | build2/config/utility.txx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/config/utility.txx b/build2/config/utility.txx index b6859d0..1434406 100644 --- a/build2/config/utility.txx +++ b/build2/config/utility.txx @@ -10,7 +10,7 @@ namespace build2 namespace config { template <typename T> - pair<reference_wrapper<const value>, bool> + pair<lookup, bool> required (scope& root, const variable& var, const T& def_val, @@ -60,7 +60,7 @@ namespace build2 } } - return pair<reference_wrapper<const value>, bool> (*l, n); + return pair<lookup, bool> (l, n); } } } |