refactor: Fix clang-tidy modernize-use-auto

This commit is contained in:
Lars Toenning
2025-10-09 22:35:53 +02:00
parent 899b5d6ba4
commit 29bc905e56
194 changed files with 523 additions and 531 deletions

View File

@@ -27,7 +27,7 @@ namespace MiscTest
void CTestSlot::slotBasics()
{
QObject *obj = new QObject(this);
auto obj = new QObject(this);
CSlot<void(const QString &)> slot1 = { obj, [&](const QString &name) { obj->setObjectName(name); } };
QVERIFY2(slot1, "Slot has valid object and function - can be called.");