refactor: fix some minor clang-tidy warnings

This commit is contained in:
2024-04-19 17:59:10 +03:00
parent 2f4f05b5af
commit ed5ae40624
56 changed files with 225 additions and 265 deletions

View File

@ -33,10 +33,7 @@ void TestAWScriptFormatter::initTestCase()
}
void TestAWScriptFormatter::cleanupTestCase()
{
delete formatter;
}
void TestAWScriptFormatter::cleanupTestCase() {}
void TestAWScriptFormatter::test_values()
@ -100,7 +97,7 @@ void TestAWScriptFormatter::test_copy()
QCOMPARE(newFormatter->program(), formatter->program());
QCOMPARE(newFormatter->number(), 1);
delete newFormatter;
newFormatter->deleteLater();
}