Просмотр исходного кода

the default ctor of entt::meta_factory should be public

Michele Caini 6 лет назад
Родитель
Сommit
67f80ee111
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/entt/meta/factory.hpp

+ 2 - 1
src/entt/meta/factory.hpp

@@ -320,9 +320,10 @@ class meta_factory {
         }
     }
 
+public:
+    /*! @brief Default constructor. */
     meta_factory() ENTT_NOEXCEPT = default;
 
-public:
     /**
      * @brief Extends a meta type by assigning it an identifier and properties.
      * @tparam Property Types of properties to assign to the meta type.