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:
@@ -118,7 +118,7 @@ namespace UnitTest
|
||||
AZ::IO::FileIOBase::SetInstance(&m_fileIO);
|
||||
}
|
||||
|
||||
~FileIOStreamTest()
|
||||
~FileIOStreamTest() override
|
||||
{
|
||||
}
|
||||
|
||||
@@ -341,7 +341,7 @@ namespace UnitTest
|
||||
AZ_TEST_ASSERT(!local.Eof(fileHandle));
|
||||
AZ_TEST_ASSERT(!local.Flush(fileHandle));
|
||||
AZ_TEST_ASSERT(!local.ModificationTime(fileHandle));
|
||||
AZ_TEST_ASSERT(!local.Read(fileHandle, 0, 0, false));
|
||||
AZ_TEST_ASSERT(!local.Read(fileHandle, nullptr, 0, false));
|
||||
AZ_TEST_ASSERT(!local.Tell(fileHandle, fs));
|
||||
|
||||
AZ_TEST_ASSERT(!local.Exists((file01Name + "notexist").c_str()));
|
||||
|
||||
Reference in New Issue
Block a user