Restored assignment
parent
e2363e90bd
commit
70e2534cc2
|
|
@ -168,6 +168,7 @@ public:
|
||||||
/// assignment operators should be used.
|
/// assignment operators should be used.
|
||||||
GenericValue<T>& operator=(const GenericValue<T>& rhs) {
|
GenericValue<T>& operator=(const GenericValue<T>& rhs) {
|
||||||
Value::operator=(static_cast<Value const&>(rhs));
|
Value::operator=(static_cast<Value const&>(rhs));
|
||||||
|
value_ = rhs.value_;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue