Michele Caini 7 лет назад
Родитель
Сommit
2ec7bc878e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/core/ident.hpp

+ 1 - 1
src/entt/core/ident.hpp

@@ -55,7 +55,7 @@ public:
 
     /*! @brief Statically generated unique identifier for the given type. */
     template<typename Type>
-    inline static const identifier_type type = get<std::decay_t<Type>>(std::make_index_sequence<sizeof...(Types)>{});
+    static constexpr identifier_type type = get<std::decay_t<Type>>(std::make_index_sequence<sizeof...(Types)>{});
 };