瀏覽代碼

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)>{});
 };