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

@ -26,14 +26,11 @@
void TestAWStringFormatter::initTestCase()
{
AWTestLibrary::init();
formatter = new AWStringFormatter(nullptr);
formatter = new AWStringFormatter(this);
}
void TestAWStringFormatter::cleanupTestCase()
{
delete formatter;
}
void TestAWStringFormatter::cleanupTestCase() {}
void TestAWStringFormatter::test_values() {}
@ -104,7 +101,7 @@ void TestAWStringFormatter::test_copy()
QCOMPARE(newFormatter->forceWidth(), formatter->forceWidth());
QCOMPARE(newFormatter->number(), 1);
delete newFormatter;
newFormatter->deleteLater();
}