2025-09-06 05:38 CEST

spring: develop d9ee2bb5 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Johan Rehnberg Johan Rehnberg develop 2013-09-22 11:06:24 develop 64c8d7b2
Changeset remove unnecessary memset in QuadMap::Alloc

Pointers are default constructed with NULL.
Saw this when when looking at cppcheck errors, it was a false positive:
[rts/Map/SM3/terrain/Terrain.cpp:65]: (error) Using 'memset' on class that contains a 'std::vector'.
mod - rts/Map/SM3/terrain/Terrain.cpp Diff ] File ]