dxx-rebirth/similar
Kp 99a4a0ed62 Capture range_for by-value temporaries as const
Modifying a by-value temporary does not affect the underlying container,
so modifying it is almost always a bug.  Require use of a by-reference
capture when modification is desired.

sed -i -e 's/range_for\s*(\s*\(const\s\+\)\?auto\s\+\([[:alpha:]_]\)/range_for (const auto \2/g'
2015-02-05 03:03:49 +00:00
..
2d Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
3d Fix WORDS_NEED_ALIGNMENT build of interp.cpp 2014-12-19 02:19:29 +00:00
arch Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
editor Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
main Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
mem Fix size truncation in mem_malloc 2015-01-29 04:27:35 +00:00
misc Exit cleanly on bad command line arguments 2015-01-28 03:42:53 +00:00