diff options
-rw-r--r-- | Userland/Libraries/LibCore/Object.cpp | 5 | ||||
-rw-r--r-- | Userland/Libraries/LibCore/Object.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Userland/Libraries/LibCore/Object.cpp b/Userland/Libraries/LibCore/Object.cpp index cc5be65d54..088c465515 100644 --- a/Userland/Libraries/LibCore/Object.cpp +++ b/Userland/Libraries/LibCore/Object.cpp @@ -162,11 +162,6 @@ void Object::dump_tree(int indent) }); } -void Object::deferred_invoke(Function<void(Object&)> invokee) -{ - deferred_invoke([invokee = move(invokee), this] { invokee(*this); }); -} - void Object::deferred_invoke(Function<void()> invokee) { Core::deferred_invoke([invokee = move(invokee), strong_this = NonnullRefPtr(*this)] { invokee(); }); diff --git a/Userland/Libraries/LibCore/Object.h b/Userland/Libraries/LibCore/Object.h index 606d0ebeb1..01b12e509b 100644 --- a/Userland/Libraries/LibCore/Object.h +++ b/Userland/Libraries/LibCore/Object.h @@ -129,7 +129,6 @@ public: void dump_tree(int indent = 0); - void deferred_invoke(Function<void(Object&)>); void deferred_invoke(Function<void()>); void save_to(JsonObject&); |