refactor: make TrackableObject::weak_map_id() constexpr (#47092)
* refactor: make TrackableObject::weak_map_id() constexpr refactor: make BaseWindow::GetID() inline and constexpr * refactor: make NativeWindow::window_id() constexpr too
This commit is contained in:
parent
e2bcd8f0aa
commit
d720aea700
4 changed files with 3 additions and 7 deletions
|
@ -1154,10 +1154,6 @@ void BaseWindow::SetTitleBarOverlay(const gin_helper::Dictionary& options,
|
|||
}
|
||||
#endif
|
||||
|
||||
int32_t BaseWindow::GetID() const {
|
||||
return weak_map_id();
|
||||
}
|
||||
|
||||
void BaseWindow::RemoveFromParentChildWindows() {
|
||||
if (parent_window_.IsEmpty())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue