From a11c91dd1b853af4a537b7aea2d7d87f42a319ee Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Sat, 9 Mar 2013 22:45:46 +0000 Subject: [PATCH] Fixed missing include in .h and changed include order in .cpp. It's a good general rule that the first line of code in a .cpp file should be the #include of its own .h file. --- blacklib/include/blackcore/simulator.h | 1 + blacklib/src/blackcore/simulator.cpp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/blacklib/include/blackcore/simulator.h b/blacklib/include/blackcore/simulator.h index 4885cd9cc..63613e5a4 100644 --- a/blacklib/include/blackcore/simulator.h +++ b/blacklib/include/blackcore/simulator.h @@ -7,6 +7,7 @@ #define SIMULATOR_H #include +#include #include "blackcore/sim_callbacks.h" #include "blackcore/vector_geo.h" diff --git a/blacklib/src/blackcore/simulator.cpp b/blacklib/src/blackcore/simulator.cpp index 8a8933767..20f76662c 100644 --- a/blacklib/src/blackcore/simulator.cpp +++ b/blacklib/src/blackcore/simulator.cpp @@ -12,12 +12,12 @@ * * ***************************************************************************/ +#include "blackcore/simulator.h" +#include "blackmisc/debug.h" + #include #include -#include -#include "blackcore/simulator.h" - namespace BlackCore { const quint32 ISimulator::InterfaceVersionMajor = 0;