From a7c24ca48995cf2bf436156302f96b91bf135409 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Mon, 13 Nov 2017 15:03:31 +0100 Subject: Code modernize ... * replace 0/NULL with nullptr [using clang-tidy] --- plugins/WinterSpeak/src/DialogConfigEngine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/WinterSpeak/src/DialogConfigEngine.cpp') 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; } //------------------------------------------------------------------------------ -- cgit v1.2.3