diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index 2c6e9f73b..20643bd65 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -1849,8 +1849,7 @@ inline bool meta_sequence_container::resize(const size_type sz) { * @return True in case of success, false otherwise. */ inline bool meta_sequence_container::clear() { - void *elem = storage.data(); - return elem && resize_fn(elem, 0u); + return resize(0u); } /**