Skip to content

Commit

Permalink
Replace deprecated qAsConst with std::as_const
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroulik committed Dec 18, 2023
1 parent e765f4f commit 696d055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/systemstats/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ void SystemStatsPlugin::update()
{
// TODO reload storage systems model occasionally

for (auto *liveData : qAsConst(m_liveData)) {
for (auto *liveData : std::as_const(m_liveData)) {
liveData->update();
}
for (auto *dailyData : qAsConst(m_dailyData)) {
for (auto *dailyData : std::as_const(m_dailyData)) {
dailyData->update();
}
}
Expand Down

0 comments on commit 696d055

Please sign in to comment.