Modernization + AZStd::function compare fix. (#3680)

* Modernization + small fix.

Modernize ( `bool`/`override`/other) code in AzCore, AzFramework, AzQtComponents, AzToolsFramework, etc.
Replaced a `bind` or two, use `using` in a few places as well.

Fix nullptr comparison of AZStd::function.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Apply review-based changes

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
Artur K
2021-09-02 21:55:09 +02:00
committed by GitHub
parent b3c8b0f5f3
commit 567c0ae24d
150 changed files with 865 additions and 847 deletions
@@ -27,19 +27,19 @@ namespace UnitTest
AzFramework::WindowNotificationBus::Handler::BusConnect(m_windowHandle);
}
~NativeWindowListener()
~NativeWindowListener() override
{
AzFramework::WindowNotificationBus::Handler::BusDisconnect(m_windowHandle);
}
// WindowNotificationBus::Handler overrides...
void OnWindowResized(uint32_t width, uint32_t height)
void OnWindowResized(uint32_t width, uint32_t height) override
{
AZ_UNUSED(width);
AZ_UNUSED(height);
m_wasOnWindowResizedReceived = true;
}
void OnWindowClosed()
void OnWindowClosed() override
{
m_wasOnWindowClosedReceived = true;
}