Michele Caini 6 лет назад
Родитель
Сommit
d2cbb72490
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/entity/registry.hpp

+ 1 - 1
src/entt/entity/registry.hpp

@@ -555,7 +555,7 @@ public:
      * just created otherwise.
      */
     template<typename... Component>
-    decltype(auto) create() {
+    auto create() {
         entity_type entity;
 
         if(destroyed == null) {