Refactor: replace qAsConst with std::as_const across TetraIF; reduce compiler deprecation warnings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-07-14 22:48:58 +02:00
1 parent dfdc6e299d
commit 3904b43cf8
10 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -371,7 +371,7 @@ void PrtCnvSocketThread::readHostAdresses()
continue;
m_hostAdresses.push_back(qMakePair(host, port));
}
for (const auto &p : qAsConst(m_hostAdresses)) {
for (const auto &p : std::as_const(m_hostAdresses)) {
INFO_LOG(m_logger) << "Read Host Adress " << p.first
<< ":" << p.second
<< " from settings";