Mat: fix several compiler warnings:

* -Winconsistent-missing-override
* -Wtautological-undefined-compare
This commit is contained in:
wmayer
2023-09-28 01:03:49 +02:00
committed by Chris Hennes
parent 1dd2baa172
commit b01a41237a
6 changed files with 14 additions and 10 deletions

View File

@@ -59,9 +59,12 @@ class MaterialTest : public ::testing::Test {
TEST_F(MaterialTest, TestApplication)
{
App::Application& application = App::GetApplication();
if (&application == nullptr)
try {
App::GetApplication();
}
catch (...) {
ADD_FAILURE() << "Application failure\n";
}
SUCCEED();
}