Browse Source

meta: deprecate meta_handle ctor

skypjack 5 months ago
parent
commit
e8e62638fc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/entt/meta/meta.hpp

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

@@ -657,6 +657,7 @@ struct meta_handle {
      * @brief Context aware constructor.
      * @param area The context from which to search for meta types.
      */
+    [[deprecated("not necessary, use the default constructor instead")]]
     meta_handle(meta_ctx_arg_t, const meta_ctx &area)
         : any{meta_ctx_arg, area} {}