mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 19:35:33 +08:00
refs #895, also log when parts are empty
* added empty flag * move logging into own function (because it is called in multiple places now)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
aa14c564b0
commit
a27717cf8b
@@ -88,6 +88,9 @@ namespace BlackMisc
|
||||
private:
|
||||
CInterpolationLogger *m_logger = nullptr;
|
||||
|
||||
//! Log parts
|
||||
void logParts(qint64 timestamp, const Aviation::CAircraftParts &parts, bool empty, bool log);
|
||||
|
||||
Derived *derived() { return static_cast<Derived *>(this); }
|
||||
const Derived *derived() const { return static_cast<const Derived *>(this); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user