meta: suppress a shadow warning
This commit is contained in:
@@ -240,8 +240,8 @@ public:
|
||||
nullptr,
|
||||
internal::meta_node<Base>::resolve(),
|
||||
[](meta_any other) ENTT_NOEXCEPT -> meta_any {
|
||||
if(auto *data = other.data(); data) {
|
||||
return forward_as_meta(*static_cast<Base *>(static_cast<Type *>(data)));
|
||||
if(auto *ptr = other.data(); ptr) {
|
||||
return forward_as_meta(*static_cast<Base *>(static_cast<Type *>(ptr)));
|
||||
}
|
||||
|
||||
return forward_as_meta(*static_cast<const Base *>(static_cast<const Type *>(std::as_const(other).data())));
|
||||
|
||||
Reference in New Issue
Block a user