Ref T709, static "ownAircraftString" and improved logging

This commit is contained in:
Klaus Basan
2019-08-08 20:11:15 +02:00
committed by Mat Sutcliffe
parent 60ea80301e
commit 3260209ca5
4 changed files with 19 additions and 11 deletions

View File

@@ -126,7 +126,7 @@ namespace XSwiftBus
int process();
//! Returns the own aircraft string to be used as callsign for setFollowedAircraft()
std::string ownAircraftString() const { return "ownAircraft"; }
static const std::string &ownAircraftString() { static const std::string o = "ownAircraft"; return o; }
protected:
//! Handler