Skip to content

Commit

Permalink
Qt6: fix Windows build, foreach -> for
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Oct 25, 2023
1 parent e117efc commit 2db33fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/movinginterquartilemean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ double MovingInterquartileMean::mean() {
const int listSize = size();
if (listSize <= 4) {
double d_sum = 0;
foreach (double d, m_list) {
for (const double d : std::as_const(m_list)) {
d_sum += d;
}
m_dMean = d_sum / listSize;
Expand Down

0 comments on commit 2db33fd

Please sign in to comment.