mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
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.
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
#define SIMULATOR_H
|
#define SIMULATOR_H
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
#include "blackcore/sim_callbacks.h"
|
#include "blackcore/sim_callbacks.h"
|
||||||
#include "blackcore/vector_geo.h"
|
#include "blackcore/vector_geo.h"
|
||||||
|
|||||||
@@ -12,12 +12,12 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include "blackcore/simulator.h"
|
||||||
|
#include "blackmisc/debug.h"
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QLibrary>
|
#include <QLibrary>
|
||||||
|
|
||||||
#include <blackmisc/debug.h>
|
|
||||||
#include "blackcore/simulator.h"
|
|
||||||
|
|
||||||
namespace BlackCore {
|
namespace BlackCore {
|
||||||
|
|
||||||
const quint32 ISimulator::InterfaceVersionMajor = 0;
|
const quint32 ISimulator::InterfaceVersionMajor = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user