Skip to content

Commit 02323e8

Browse files
committed
meta: missing template keyword
1 parent 440fed9 commit 02323e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entt/meta/meta.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ class meta_any {
484484
}
485485

486486
for(auto &&curr: from.details->base) {
487-
if(auto other = curr.resolve(internal::meta_context::from(*ctx)).from_void(*ctx, nullptr, curr.cast(storage.data())); (curr.type == entt::type_hash<std::remove_const_t<std::remove_reference_t<Type>>>::value()) || (other = std::as_const(other).allow_cast<Type>())) {
487+
if(auto other = curr.resolve(internal::meta_context::from(*ctx)).from_void(*ctx, nullptr, curr.cast(storage.data())); (curr.type == entt::type_hash<std::remove_const_t<std::remove_reference_t<Type>>>::value()) || (other = std::as_const(other).template allow_cast<Type>())) {
488488
return other;
489489
}
490490
}

0 commit comments

Comments
 (0)