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)
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
|
||||
void RegisterAutoCommands();
|
||||
|
||||
bool AddCommand(CCommand* pCommand, TPfnDeleter deleter = NULL);
|
||||
bool AddCommand(CCommand* pCommand, TPfnDeleter deleter = nullptr);
|
||||
bool UnregisterCommand(const char* module, const char* name);
|
||||
bool RegisterUICommand(
|
||||
const char* module,
|
||||
|
||||
Reference in New Issue
Block a user