diff --git a/src/common/datatypes/Value.cpp b/src/common/datatypes/Value.cpp index 7a6b5e4fb1..3e30b1ad9b 100644 --- a/src/common/datatypes/Value.cpp +++ b/src/common/datatypes/Value.cpp @@ -1382,7 +1382,7 @@ void Value::setU(const Set& v) { } void Value::setU(Set&& v) { - new (std::addressof(value_.vVal)) std::unique_ptr(new Set(std::move(v))); + new (std::addressof(value_.uVal)) std::unique_ptr(new Set(std::move(v))); type_ = Type::SET; }