meta: drop unnecessary move

This commit is contained in:
skypjack
2023-07-25 14:11:32 +02:00
committed by Michele Caini
parent 6b2c88e542
commit 95643b6a56

View File

@@ -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) {