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:
1 parent
dfdc6e299d
commit
3904b43cf8
10 files changed
+15
-15
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user