Michele Caini před 7 roky
rodič
revize
2ec7bc878e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)>{});
 };