Просмотр исходного кода

davey: fix entry points for storage types

skypjack 8 месяцев назад
Родитель
Сommit
ad4ab9dc08
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/entt/tools/davey.hpp

+ 4 - 0
src/entt/tools/davey.hpp

@@ -223,11 +223,15 @@ static void present_view(const meta_ctx &ctx, const entt::basic_view<get_t<Get..
 
 template<typename Entity, typename Type, typename Allocator>
 void davey(const meta_ctx &ctx, const entt::basic_storage<Entity, Type, Allocator> &storage) {
+template<typename Type, typename Entity, typename Allocator>
+void davey(const meta_ctx &ctx, const entt::basic_storage<Type, Entity, Allocator> &storage) {
     internal::present_storage(ctx, storage);
 }
 
 template<typename Entity, typename Type, typename Allocator>
 void davey(const entt::basic_storage<Entity, Type, Allocator> &storage) {
+template<typename Type, typename Entity, typename Allocator>
+void davey(const entt::basic_storage<Type, Entity, Allocator> &storage) {
     davey(locator<meta_ctx>::value_or(), storage);
 }