mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +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:
parent
1ec225f5ba
commit
1e7adf5cb6
Notes:
sideshowbarker
2024-07-18 22:59:53 +09:00
Author: https://github.com/BenWiederhake
Commit: 1e7adf5cb6
Pull-request: https://github.com/SerenityOS/serenity/pull/5034
Reviewed-by: https://github.com/alimpfard
3 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue