1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:47:45 +00:00

LibCore: Remove the Core::Objects::all_objects() list

Nobody actually used the list of all Core::Objects anyway.
This commit is contained in:
Andreas Kling 2023-08-06 16:06:26 +02:00
parent 405187993a
commit 26647f2b10
4 changed files with 2 additions and 13 deletions

View file

@ -11,7 +11,6 @@
#include <AK/Forward.h>
#include <AK/Function.h>
#include <AK/HashMap.h>
#include <AK/IntrusiveList.h>
#include <AK/Noncopyable.h>
#include <AK/OwnPtr.h>
#include <AK/StringView.h>
@ -60,8 +59,6 @@ class Object
AK_MAKE_NONCOPYABLE(Object);
AK_MAKE_NONMOVABLE(Object);
IntrusiveListNode<Object> m_all_objects_list_node;
public:
virtual ~Object();
@ -135,8 +132,6 @@ public:
void deferred_invoke(Function<void()>);
static IntrusiveList<&Object::m_all_objects_list_node>& all_objects();
void dispatch_event(Core::Event&, Object* stay_within = nullptr);
void remove_from_parent()