Skip to content

Commit

Permalink
Fix warning: loop variable ... creates a copy from type
Browse files Browse the repository at this point in the history
  • Loading branch information
muffgaga committed Nov 29, 2021
1 parent 4c33a24 commit 0ca676a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spineml/simulator/inputValue.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ SpineMLSimulator::InputValue::TimeVaryingArray::TimeVaryingArray(double dt, unsi
}
}

for(const auto t : m_TimeArrays) {
for(const auto &t : m_TimeArrays) {
LOGD_SPINEML << "\tTimestep:" << t.first << "," << t.second.size() << " values";
}
}
Expand Down

0 comments on commit 0ca676a

Please sign in to comment.