aboutsummaryrefslogtreecommitdiff
path: root/build/variable
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-02 13:08:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-02 13:08:16 +0200
commit685fe65f6b26b9e57c3d10cfe68c66d8baff8a68 (patch)
tree27b83b16118241956a9cfdcc9249347f4da3b606 /build/variable
parentc5fc14f302a4080ad0c6469e78582abb8e9b113f (diff)
Add support for optional configuration for cli module
Diffstat (limited to 'build/variable')
-rw-r--r--build/variable10
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+=().