Enables override/virtual warnings

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-09-15 14:11:17 -07:00
committed by GitHub
501 changed files with 3326 additions and 2777 deletions
@@ -50,7 +50,7 @@ namespace Benchmark
SetupPrefabSystem();
}
void BM_Prefab::SetUp(::benchmark::State & state)
void BM_Prefab::internalSetUp(const benchmark::State& state)
{
AZ::Debug::TraceMessageBus::Handler::BusConnect();
@@ -59,7 +59,7 @@ namespace Benchmark
SetupPrefabSystem();
}
void BM_Prefab::TearDown(::benchmark::State & state)
void BM_Prefab::internalTearDown(const benchmark::State& state)
{
m_paths = {};
@@ -24,12 +24,27 @@ namespace Benchmark
: public UnitTest::AllocatorsBenchmarkFixture
, public UnitTest::TraceBusRedirector
{
protected:
using ::benchmark::Fixture::SetUp;
using ::benchmark::Fixture::TearDown;
void internalSetUp(const benchmark::State& state);
void internalTearDown(const benchmark::State& state);
void SetUp(::benchmark::State& state) override;
void TearDown(::benchmark::State& state) override;
protected:
void SetUp(const benchmark::State& state) override
{
internalSetUp(state);
}
void SetUp(benchmark::State& state) override
{
internalSetUp(state);
}
void TearDown(const benchmark::State& state) override
{
internalTearDown(state);
}
void TearDown(benchmark::State& state) override
{
internalTearDown(state);
}
AZ::Entity* CreateEntity(
const char* entityName,
@@ -137,7 +137,7 @@ namespace UnitTest
void CreateEditorRepresentation(AZ::Entity* entity) override;
void BrowseForAssets(AzToolsFramework::AssetBrowser::AssetSelectionModel& selection) override { AZ_UNUSED(selection); }
int GetIconTextureIdFromEntityIconPath(const AZStd::string& entityIconPath) override { AZ_UNUSED(entityIconPath); return 0; }
bool DisplayHelpersVisible() { return false; }
bool DisplayHelpersVisible() override { return false; }
/*
* AssetSystemRequestBus