diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-01-21 20:23:52 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-22 21:49:54 +0100 |
commit | 1e7adf5cb632331fca3532342a18a190325d6746 (patch) | |
tree | 1804d81907e302f66f9e7ca97fa11e3bb270ea8b /Userland/Applications | |
parent | 1ec225f5ba010155662f527e3b136a5ef34b28da (diff) | |
download | serenity-1e7adf5cb632331fca3532342a18a190325d6746.zip |
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.
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/Run/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/Run/main.cpp b/Userland/Applications/Run/main.cpp index 9bf27a3535..9efea6415f 100644 --- a/Userland/Applications/Run/main.cpp +++ b/Userland/Applications/Run/main.cpp @@ -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" |