Mat: fix several compiler warnings:
* -Winconsistent-missing-override * -Wtautological-undefined-compare
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user