summaryrefslogtreecommitdiff
path: root/Userland/Demos
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-21 20:23:52 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-22 21:49:54 +0100
commit1e7adf5cb632331fca3532342a18a190325d6746 (patch)
tree1804d81907e302f66f9e7ca97fa11e3bb270ea8b /Userland/Demos
parent1ec225f5ba010155662f527e3b136a5ef34b28da (diff)
downloadserenity-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/Demos')
-rw-r--r--Userland/Demos/CatDog/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Demos/CatDog/main.cpp b/Userland/Demos/CatDog/main.cpp
index e93b258388..769cb69d3f 100644
--- a/Userland/Demos/CatDog/main.cpp
+++ b/Userland/Demos/CatDog/main.cpp
@@ -26,6 +26,7 @@
*/
#include <LibCore/ElapsedTimer.h>
+#include <LibGUI/Application.h>
#include <LibGUI/BoxLayout.h>
#include <LibGUI/Icon.h>
#include <LibGUI/Menu.h>