diff options
Diffstat (limited to 'build/variable')
-rw-r--r-- | build/variable | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/variable b/build/variable index 061004c..5d0b175 100644 --- a/build/variable +++ b/build/variable @@ -10,7 +10,7 @@ #include <cstddef> // nullptr_t #include <utility> // pair, make_pair() #include <iterator> -#include <functional> // hash, reference_wrapper +#include <functional> // hash #include <type_traits> // conditional, is_reference, remove_reference, etc. #include <unordered_set> @@ -93,10 +93,10 @@ namespace build } value& - operator= (std::reference_wrapper<const value> v) - { - return *this = v.get (); - } + operator= (reference_wrapper<value> v) {return *this = v.get ();} + + value& + operator= (reference_wrapper<const value> v) {return *this = v.get ();} value& append (value, const variable&); // Aka operator+=(). |