meta: drop unnecessary move
This commit is contained in:
@@ -1650,7 +1650,7 @@ bool meta_any::set(const id_type id, Type &&value) {
|
||||
|
||||
inline bool meta_any::assign(const meta_any &other) {
|
||||
auto value = other.allow_cast({*ctx, node});
|
||||
return value && storage.assign(std::move(value.storage));
|
||||
return value && storage.assign(value.storage);
|
||||
}
|
||||
|
||||
inline bool meta_any::assign(meta_any &&other) {
|
||||
|
||||
Reference in New Issue
Block a user