mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Layout refactoring: C++ part
This commit is contained in:
parent
539a78e807
commit
ba1aff84d0
8 changed files with 334 additions and 608 deletions
|
@ -133,7 +133,7 @@ public:
|
|||
return a.inner == b.inner;
|
||||
}
|
||||
friend bool operator!=(const VRc &a, const VRc &b) {
|
||||
return a.inner == b.inner;
|
||||
return a.inner != b.inner;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -169,6 +169,13 @@ public:
|
|||
}
|
||||
|
||||
VWeak<VTable, Dyn> into_dyn() const { return *reinterpret_cast<const VWeak<VTable, Dyn> *>(this); }
|
||||
|
||||
friend bool operator==(const VWeak &a, const VWeak &b) {
|
||||
return a.inner == b.inner;
|
||||
}
|
||||
friend bool operator!=(const VWeak &a, const VWeak &b) {
|
||||
return a.inner != b.inner;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue