mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
refactor: Remove old formatting comments
This commit is contained in:
@@ -58,7 +58,6 @@ namespace XSwiftBus
|
||||
|
||||
CTraffic *CTraffic::s_instance = nullptr;
|
||||
|
||||
// *INDENT-OFF*
|
||||
CTraffic::CTraffic(CSettingsProvider *settingsProvider)
|
||||
: CDBusObject(settingsProvider),
|
||||
m_followPlaneViewNextCommand("org/swift-project/xswiftbus/follow_next_plane",
|
||||
@@ -75,7 +74,6 @@ namespace XSwiftBus
|
||||
// init labels
|
||||
this->setDrawingLabels(this->getSettings().isDrawingLabels());
|
||||
}
|
||||
// *INDENT-ON*
|
||||
|
||||
CTraffic::~CTraffic()
|
||||
{
|
||||
|
||||
@@ -43,14 +43,12 @@ namespace XSwiftBus
|
||||
|
||||
//! @{
|
||||
//! Logger convenience macros
|
||||
// *INDENT-OFF*
|
||||
#define DEBUG_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::DebugMsg, (msg)))
|
||||
#define DEBUG_LOG_C(msg, doLog) \
|
||||
((doLog) ? XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::DebugMsg, (msg)) : static_cast<void>(0))
|
||||
#define INFO_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::InfoMsg, (msg)))
|
||||
#define WARNING_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::WarningMsg, (msg)))
|
||||
#define ERROR_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::ErrorMsg, (msg)))
|
||||
// *INDENT-ON*
|
||||
//! @}
|
||||
|
||||
#endif // SWIFT_SIM_XSWIFTBUS_UTILS_H
|
||||
|
||||
Reference in New Issue
Block a user