Use appropriate references with auto in range-based for loops (per STL http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3853.htm)