dxx-rebirth/common
Kp 98afca20a9 Split and simplify partial_range check
Rely on T.size() instead of distance(T.begin(), T.end()) to get the
container size.  Add a special case for C-style arrays with known size.

In some cases, gcc-4.9 fails to optimize distance(...) on an array<T, N>
of unknown base address, leading to a bogus compile failure.  Switching
the object to have a known address prevents the problem, but requires
changing the calling code.  Switch to using T.size(), which gcc seems to
get right.
2015-02-01 23:07:18 +00:00
..
2d Simplify gr_bitmap_rle_compress setting BM_FLAG_RLE_BIG 2015-01-29 04:27:37 +00:00
3d Remove draw_tmap from OGL build 2015-01-22 03:34:20 +00:00
arch Hide local classes in anonymous namespaces 2015-01-23 03:55:06 +00:00
editor Propagate for variables in common/editor/func.cpp 2014-09-26 02:42:14 +00:00
include Split and simplify partial_range check 2015-02-01 23:07:18 +00:00
main Fix clang build of fwdwall.h 2015-01-29 04:27:36 +00:00
maths Improve fixmul* readability 2015-01-29 04:27:37 +00:00
misc Use RAII for PHYSFS_enumerateFiles result 2015-01-23 03:55:05 +00:00
texmap Remove draw_tmap from OGL build 2015-01-22 03:34:20 +00:00
ui Remove string copying in GetKeyDescription 2015-01-29 04:27:35 +00:00