refs #624 Use constexpr instead of Q_CONSTEXPR.

This commit is contained in:
Mathew Sutcliffe
2016-03-19 20:40:03 +00:00
parent e9bb8f2fcc
commit 96d9fffcd7
4 changed files with 5 additions and 5 deletions

View File

@@ -839,7 +839,7 @@ namespace BlackSimPlugin
ISimulatorListener(info),
m_timer(new QTimer(this))
{
Q_CONSTEXPR int QueryInterval = 5 * 1000; // 5 seconds
constexpr int QueryInterval = 5 * 1000; // 5 seconds
m_timer->setInterval(QueryInterval);
this->m_timer->setObjectName(this->objectName().append(":m_timer"));
connect(m_timer, &QTimer::timeout, this, &CSimulatorFsxListener::ps_checkConnection);