diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-28 21:59:34 +0100 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-29 16:19:51 +0300 |
commit | db068ff16aa689c180037af831d9ba6fca7594d7 (patch) | |
tree | bf2106e046970b9b062c7fe429f35f5298f6a9eb /build | |
parent | e18e3bdf005824b5875bda74053c116b6c4c059f (diff) | |
download | plus-db068ff16aa689c180037af831d9ba6fca7594d7.tar.gz plus-db068ff16aa689c180037af831d9ba6fca7594d7.tar.bz2 plus-db068ff16aa689c180037af831d9ba6fca7594d7.tar.xz plus-db068ff16aa689c180037af831d9ba6fca7594d7.zip |
Removed inheritance from std::vector by CompoundSprite
In my opinion, the code is clearer when using aggregation. For performance
it makes no difference.
This also fixes a memory leak in CompountSprite::clear, which forgot to
delete any existing sprites.
Reviewed-by: Erik Schilling
Conflicts:
src/compoundsprite.cpp
src/compoundsprite.h
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions