diff --git a/api/any.hpp b/api/any.hpp index 9f5525cfb..2a25c9598 100644 --- a/api/any.hpp +++ b/api/any.hpp @@ -105,11 +105,8 @@ namespace jule this->__get_copy(src); } - Any(const jule::Any &&src) noexcept + Any(const jule::Any &&src) noexcept : data(src.data), type(src.type) { - this->data = src.data; - this->type = src.type; - // Avoid deallocation. src.data = nullptr; }