Selaa lähdekoodia

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

Michele Caini 2 vuotta sitten
vanhempi
commit
45d4bd0cf5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);
     }