1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:28:11 +00:00

LibGUI: Resolve cyclic inclusion

Application.h includes Widget.h which includes Application.h. I'm not entirely
sure what the semantics are in this case, but avoiding this seems to be the
safer approach. In this case, Widget does not actually use Application, so let's
just remove the unused include.
This commit is contained in:
Ben Wiederhake 2021-01-21 20:23:52 +01:00 committed by Andreas Kling
parent 1ec225f5ba
commit 1e7adf5cb6
3 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@
#include <AK/StringBuilder.h>
#include <AK/Types.h>
#include <AK/URL.h>
#include <LibGUI/Application.h>
#include <string.h>
#include "RunWindow.h"