meta: meta_any::allow_cast returns a scoped value now

This commit is contained in:
Michele Caini
2022-10-10 15:30:15 +02:00
parent eee59e6af9
commit 0fdd7d7a3a

View File

@@ -1543,8 +1543,7 @@ bool meta_any::set(const id_type id, Type &&value) {
return other;
}
// TODO
return {};
return meta_any{meta_ctx_arg, *ctx};
}
inline bool meta_any::assign(const meta_any &other) {