aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/named_value.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/util/named_value.hh b/paludis/util/named_value.hh
index bf6119832..6375de01f 100644
--- a/paludis/util/named_value.hh
+++ b/paludis/util/named_value.hh
@@ -90,6 +90,12 @@ namespace paludis
{
}
+ NamedValue & operator=(const NamedValue & v)
+ {
+ _value = v._value;
+ return *this;
+ }
+
V_ & operator() ()
{
return _value;