فهرست منبع

meta: internal changes

skypjack 1 هفته پیش
والد
کامیت
02d40f800b
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      src/entt/meta/context.hpp
  2. 2 2
      src/entt/meta/fwd.hpp

+ 1 - 1
src/entt/meta/context.hpp

@@ -27,7 +27,7 @@ struct meta_context {
 /*! @endcond */
 
 /*! @brief Opaque meta context type. */
-class meta_ctx: private internal::meta_context {
+struct meta_ctx: private internal::meta_context {
     // attorney idiom like model to access the base class
     friend struct internal::meta_context;
 };

+ 2 - 2
src/entt/meta/fwd.hpp

@@ -6,7 +6,7 @@
 
 namespace entt {
 
-class meta_ctx;
+struct meta_ctx;
 
 class meta_sequence_container;
 
@@ -33,7 +33,7 @@ class meta_factory;
 inline constexpr stl::size_t meta_dynamic_extent = (stl::numeric_limits<stl::size_t>::max)();
 
 /*! @brief Disambiguation tag for constructors and the like. */
-class meta_ctx_arg_t final {};
+struct meta_ctx_arg_t final {};
 
 /*! @brief Constant of type meta_context_arg_t used to disambiguate calls. */
 inline constexpr meta_ctx_arg_t meta_ctx_arg{};