Attempt to fix GenericValue assignment operator for windows

release/4.3a0
Chris Beall 2018-11-28 16:01:54 -08:00
parent 58ef0dceb6
commit 63d7d7c54b
1 changed files with 2 additions and 2 deletions

View File

@ -164,11 +164,11 @@ public:
protected:
// implicit assignment operator for (const GenericValue& rhs) works fine here
/// Assignment operator, protected because only the Value or DERIVED
/// assignment operators should be used.
GenericValue<T>& operator=(const GenericValue<T>& rhs) {
// Nothing to do, do not call base class assignment operator
Value::operator=(static_cast<Value const&>(rhs));
value_ = rhs.value_;
return *this;
}