mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 11:48:06 +00:00
LibCore: Remove some hand-rolled type information from Core::Object
Both is_action() and is_window() can be answered by RTTI.
This commit is contained in:
parent
32fd59b471
commit
42179715c3
Notes:
sideshowbarker
2024-07-19 00:16:11 +09:00
Author: https://github.com/awesomekling
Commit: 42179715c3
5 changed files with 2 additions and 8 deletions
|
@ -118,8 +118,6 @@ public:
|
|||
void deferred_invoke(Function<void(Object&)>);
|
||||
|
||||
bool is_widget() const { return m_widget; }
|
||||
virtual bool is_action() const { return false; }
|
||||
virtual bool is_window() const { return false; }
|
||||
|
||||
void save_to(AK::JsonObject&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue