fixed mistakes caught by clang

This commit is contained in:
Mathew Sutcliffe
2017-01-10 23:37:49 +00:00
parent 1c082c4649
commit a0e59546f0
2 changed files with 2 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ namespace BlackCore
virtual BlackMisc::CStatusMessageList getMatchingMessages(const BlackMisc::Aviation::CCallsign &callsign) const override;
virtual bool isMatchingMessagesEnabled() const override;
virtual void enableMatchingMessages(bool enabled) override;
BlackMisc::Simulation::CMatchingStatistics getCurrentMatchingStatistics(bool missingOnly) const;
BlackMisc::Simulation::CMatchingStatistics getCurrentMatchingStatistics(bool missingOnly) const override;
//! @}
//! \ingroup commandline

View File

@@ -36,8 +36,7 @@ namespace BlackMisc
{
Q_UNUSED(i18n);
static const QString s("Codec: '%1' details: '%2'");
s.arg(this->getTextCodec(), CFsdSetup::sendReceiveDetailsToString(this->getSendReceiveDetails()));
return s;
return s.arg(this->getTextCodec(), CFsdSetup::sendReceiveDetailsToString(this->getSendReceiveDetails()));
}
QString CFsdSetup::sendReceiveDetailsToString(SendReceiveDetails details)