Преглед изворни кода

meta: allow for a smoother transition before deprecating ::owner

Michele Caini пре 2 година
родитељ
комит
45d4bd0cf5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/entt/meta/meta.hpp

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

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