mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Fix build: Add missing non-const arrow/deref operators for VRc/Component
This commit is contained in:
parent
e97ecea480
commit
661f23760b
2 changed files with 10 additions and 0 deletions
|
@ -237,6 +237,10 @@ public:
|
|||
const T *operator->() const { return inner.operator->(); }
|
||||
/// Dereference operator that implements pointer semantics.
|
||||
const T &operator*() const { return inner.operator*(); }
|
||||
/// Arrow operator that implements pointer semantics.
|
||||
T *operator->() { return inner.operator->(); }
|
||||
/// Dereference operator that implements pointer semantics.
|
||||
T &operator*() { return inner.operator*(); }
|
||||
|
||||
/// internal function that returns the internal handle
|
||||
vtable::VRc<private_api::ComponentVTable> into_dyn() const { return inner.into_dyn(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue