Editor code: tidy up BOOLs,NULLs and overrides pt1.
Merge pull request #2872 from nemerle/tidy_up_editor_code_a_bit_split1
This commit is contained in:
@@ -80,12 +80,12 @@ namespace
|
||||
, m_trigger(trigger)
|
||||
{}
|
||||
|
||||
virtual ~EditorListener()
|
||||
~EditorListener() override
|
||||
{
|
||||
GetIEditor()->UnregisterNotifyListener(this);
|
||||
}
|
||||
|
||||
void OnEditorNotifyEvent(EEditorNotifyEvent event)
|
||||
void OnEditorNotifyEvent(EEditorNotifyEvent event) override
|
||||
{
|
||||
m_trigger(event);
|
||||
}
|
||||
|
||||
@@ -423,7 +423,7 @@ namespace Editor
|
||||
{
|
||||
UINT rawInputSize;
|
||||
const UINT rawInputHeaderSize = sizeof(RAWINPUTHEADER);
|
||||
GetRawInputData((HRAWINPUT)msg->lParam, RID_INPUT, NULL, &rawInputSize, rawInputHeaderSize);
|
||||
GetRawInputData((HRAWINPUT)msg->lParam, RID_INPUT, nullptr, &rawInputSize, rawInputHeaderSize);
|
||||
|
||||
AZStd::array<BYTE, sizeof(RAWINPUT)> rawInputBytesArray;
|
||||
LPBYTE rawInputBytes = rawInputBytesArray.data();
|
||||
|
||||
@@ -26,7 +26,7 @@ class EditorCoreTestEnvironment
|
||||
public:
|
||||
AZ_TEST_CLASS_ALLOCATOR(EditorCoreTestEnvironment);
|
||||
|
||||
virtual ~EditorCoreTestEnvironment()
|
||||
~EditorCoreTestEnvironment() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user