ncsu-landscape-dynamics / pops-core

PoPS Core: C++ library for the Pest or Pathogen Spread Model
https://ncsu-landscape-dynamics.github.io/pops-core
GNU General Public License v2.0
5 stars 2 forks source link

Use reference in range-based for loop #197

Closed wenzeslaus closed 1 year ago

wenzeslaus commented 1 year ago

Non-trivial objects in a container are meant to be used through const ref, not const value.