meta: deprecate const meta_handle::operator->

This commit is contained in:
skypjack
2025-11-04 15:08:24 +01:00
parent 716e3257b1
commit c2dcd7257f

View File

@@ -746,7 +746,7 @@ public:
}
/*! @copydoc operator-> */
[[nodiscard]] const meta_any *operator->() const {
[[deprecated("do not use const handles")]] [[nodiscard]] const meta_any *operator->() const {
return &any;
}