From ea9792ea12c19e8a9630748e8f94f5406377f615 Mon Sep 17 00:00:00 2001 From: Frank Meerkoetter Date: Sat, 26 Mar 2016 22:02:17 +0100 Subject: Fix include order Includes go from most specific to least specific Change-Id: I86aa972dbb09a31142c443dd88f1930e91bf2803 Reviewed-by: Milian Wolff --- examples/webchannel/chatserver-cpp/main.cpp | 10 +++------- examples/webchannel/shared/websocketclientwrapper.cpp | 3 +-- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'examples') diff --git a/examples/webchannel/chatserver-cpp/main.cpp b/examples/webchannel/chatserver-cpp/main.cpp index 240518c..f74af78 100644 --- a/examples/webchannel/chatserver-cpp/main.cpp +++ b/examples/webchannel/chatserver-cpp/main.cpp @@ -49,17 +49,13 @@ ****************************************************************************/ #include "qwebchannel.h" - -#include -#include -#include - -#include +#include "chatserver.h" #include "../shared/websocketclientwrapper.h" #include "../shared/websockettransport.h" -#include "chatserver.h" +#include +#include int main(int argc, char** argv) { diff --git a/examples/webchannel/shared/websocketclientwrapper.cpp b/examples/webchannel/shared/websocketclientwrapper.cpp index 3e111cd..3743bdd 100644 --- a/examples/webchannel/shared/websocketclientwrapper.cpp +++ b/examples/webchannel/shared/websocketclientwrapper.cpp @@ -49,11 +49,10 @@ ****************************************************************************/ #include "websocketclientwrapper.h" +#include "websockettransport.h" #include -#include "websockettransport.h" - /*! \brief Wraps connected QWebSockets clients in WebSocketTransport objects. -- cgit v1.2.1