Editor code: tidy up BOOLs,NULLs and overrides pt1.
A few 'typedefs' replaced by 'using's This shouldn't have any functional changes at all, just c++17 modernization It's a part 1 of a split #2847 Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
// AzToolsFramework
|
||||
#include <AzToolsFramework/PythonTerminal/ScriptTermDialog.h>
|
||||
|
||||
CAutoRegisterCommandHelper* CAutoRegisterCommandHelper::s_pFirst = 0;
|
||||
CAutoRegisterCommandHelper* CAutoRegisterCommandHelper::s_pLast = 0;
|
||||
CAutoRegisterCommandHelper* CAutoRegisterCommandHelper::s_pFirst = nullptr;
|
||||
CAutoRegisterCommandHelper* CAutoRegisterCommandHelper::s_pLast = nullptr;
|
||||
|
||||
CAutoRegisterCommandHelper* CAutoRegisterCommandHelper::GetFirst()
|
||||
{
|
||||
@@ -31,7 +31,7 @@ CAutoRegisterCommandHelper* CAutoRegisterCommandHelper::GetFirst()
|
||||
CAutoRegisterCommandHelper::CAutoRegisterCommandHelper(void(*registerFunc)(CEditorCommandManager &))
|
||||
{
|
||||
m_registerFunc = registerFunc;
|
||||
m_pNext = 0;
|
||||
m_pNext = nullptr;
|
||||
|
||||
if (!s_pLast)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user