ソースを参照

minor changes

Michele Caini 7 年 前
コミット
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)>{});
 };