summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/DialogConfigEngine.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:03:31 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:07:33 +0100
commita7c24ca48995cf2bf436156302f96b91bf135409 (patch)
tree953835509ff1b778833e78fd7b74b05e05e77c84 /plugins/WinterSpeak/src/DialogConfigEngine.cpp
parent591ec17b1c99db7f120c22ca9fb20ae05fe78325 (diff)
Code modernize ...
* replace 0/NULL with nullptr [using clang-tidy]
Diffstat (limited to 'plugins/WinterSpeak/src/DialogConfigEngine.cpp')
-rw-r--r--plugins/WinterSpeak/src/DialogConfigEngine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/WinterSpeak/src/DialogConfigEngine.cpp b/plugins/WinterSpeak/src/DialogConfigEngine.cpp
index 8914402120..dc6834fe13 100644
--- a/plugins/WinterSpeak/src/DialogConfigEngine.cpp
+++ b/plugins/WinterSpeak/src/DialogConfigEngine.cpp
@@ -1,12 +1,12 @@
#include "stdafx.h"
#include "DialogConfigEngine.h"
-DialogConfigEngine *DialogConfigEngine::m_instance = 0;
+DialogConfigEngine *DialogConfigEngine::m_instance = nullptr;
//------------------------------------------------------------------------------
// public:
//------------------------------------------------------------------------------
-DialogConfigEngine::DialogConfigEngine(ConfigDatabase &db) : m_db(db), m_test_tts(0)
+DialogConfigEngine::DialogConfigEngine(ConfigDatabase &db) : m_db(db), m_test_tts(nullptr)
{
m_instance = this;
}
@@ -14,7 +14,7 @@ DialogConfigEngine::DialogConfigEngine(ConfigDatabase &db) : m_db(db), m_test_tt
//------------------------------------------------------------------------------
DialogConfigEngine::~DialogConfigEngine()
{
- m_instance = 0;
+ m_instance = nullptr;
}
//------------------------------------------------------------------------------