refs #624 Some more occurrences of constexpr.

This commit is contained in:
Mathew Sutcliffe
2016-03-20 21:54:04 +00:00
parent 6f1cf8e3d7
commit a1861c69f0
10 changed files with 16 additions and 16 deletions

View File

@@ -32,8 +32,8 @@ namespace BlackMisc
class BLACKMISC_EXPORT IRemoteAircraftProvider
{
public:
static const int MaxSituationsPerCallsign = 6; //!< How many situations per callsign
static const int MaxPartsPerCallsign = 3; //!< How many parts per callsign
static constexpr int MaxSituationsPerCallsign = 6; //!< How many situations per callsign
static constexpr int MaxPartsPerCallsign = 3; //!< How many parts per callsign
//! Situations per callsign
using CSituationsPerCallsign = QHash<BlackMisc::Aviation::CCallsign, BlackMisc::Aviation::CAircraftSituationList>;