Total Airports logged
This commit is contained in:
parent
0a4e95cd30
commit
50ea28b78e
@ -276,6 +276,8 @@ namespace util
|
|||||||
}
|
}
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||||
static inline void setThreadName(const std::string &name)
|
static inline void setThreadName(const std::string &name)
|
||||||
{
|
{
|
||||||
#ifdef APL
|
#ifdef APL
|
||||||
@ -295,6 +297,7 @@ namespace util
|
|||||||
pthread_setname_np(pthread_self(), name.substr(0, 15).c_str());
|
pthread_setname_np(pthread_self(), name.substr(0, 15).c_str());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
} // namespace util
|
} // namespace util
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H
|
#ifndef GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H
|
||||||
#define GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H
|
#define GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "makeRwysXP.h"
|
||||||
|
#include "simulatorDatabase.h"
|
||||||
|
#include "websocket.h"
|
||||||
|
|
||||||
#include "XPLM/XPLMDataAccess.h"
|
#include "XPLM/XPLMDataAccess.h"
|
||||||
#include "XPLM/XPLMGraphics.h"
|
#include "XPLM/XPLMGraphics.h"
|
||||||
#include "XPLM/XPLMPlanes.h"
|
#include "XPLM/XPLMPlanes.h"
|
||||||
@ -8,11 +13,6 @@
|
|||||||
#include "XPLM/XPLMProcessing.h"
|
#include "XPLM/XPLMProcessing.h"
|
||||||
#include "XPLM/XPLMUtilities.h"
|
#include "XPLM/XPLMUtilities.h"
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "makeRwysXP.h"
|
|
||||||
#include "simulatorDatabase.h"
|
|
||||||
#include "websocket.h"
|
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@ -52,6 +52,9 @@ int scan(const char *defaultFile,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logfile << std::endl
|
||||||
|
<< "<STATUS> Total airports: " << airports.size() << std::endl;
|
||||||
|
|
||||||
custom.close();
|
custom.close();
|
||||||
logfile.close();
|
logfile.close();
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user