mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 22:03:56 -07:00
the old debug_assert always ran and tested the expression, which slows down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new ASSERT behaves like assert and ENSURE like the old debug_assert. Let's change any time-critical but not-super-important ENSURE to ASSERT to speed up release builds. (already done in bits.h and unique_range.h) This was SVN commit r9362. |
||
|---|---|---|
| .. | ||
| Geometry.cpp | ||
| Geometry.h | ||
| Grid.h | ||
| Player.h | ||
| Position.h | ||
| PriorityQueue.h | ||
| Render.cpp | ||
| Render.h | ||
| Selection.cpp | ||
| Selection.h | ||
| SimulationCommand.h | ||
| Spatial.h | ||