Browse Source

meta: deprecate (again) ::owner

Michele Caini 2 years ago
parent
commit
c5a2d00395
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/meta/meta.hpp

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

@@ -601,7 +601,7 @@ public:
     }
 
     /*! @copydoc any::owner */
-    [[nodiscard]] bool owner() const noexcept {
+    [[deprecated("use policy() and meta_any_policy instead")]] [[nodiscard]] bool owner() const noexcept {
         return (storage.policy() == any_policy::owner);
     }