Michele Caini 6 years ago
parent
commit
d2cbb72490
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/registry.hpp

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

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