aboutsummaryrefslogtreecommitdiff
path: root/common/memory.h
AgeCommit message (Collapse)Author
2011-11-17COMMON: Move <new> include into scummsys.h.Alyssa Milburn
The header contains forbidden symbols on some platforms, and the simplest solution seems to be to include it here. This also includes it from all the portdefs.h files, except the Symbian one. Probably the FIXME and the #if can be removed once it's known to work.
2011-11-16COMMON: Improve storage management of Array.Johannes Schickel
Now our Array class distinguishs between initialized and uninitialized objects. It furthermore always calls the destructor of no longer contained elements. This should help with non-POD objects stored in our Array class. Thanks to Bertrand for his feedback on this.