summaryrefslogtreecommitdiff
path: root/src/core/pool_type.hpp
AgeCommit message (Collapse)Author
2011-02-24(svn r22136) -Fix (r22112): Silence compiler warning about non-virtual ↵planetmaker
destructor
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-19(svn r22115) -Fix (r22114): some comments and code ordering were wrongsmatz
2011-02-19(svn r22112) -Codechange: register all pools in a pool vectorsmatz
2011-02-09(svn r22041) -Codechange: add a check that we called ↵smatz
PoolItem::CanAllocateItem() before actually allocating it
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2009-11-11(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a ↵rubidium
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'. We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t). This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
2009-10-21(svn r17839) -Codechange: implement the concept of 'caching' pool items to ↵rubidium
pools, that is instead of 'free' push the unused items in a linked list and use them on 'malloc'. Also add the concept of zeroing, or actually not zeroing, on new for pool items.
2009-10-21(svn r17838) -Document: the Pool struct's template parametersrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-05(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing ↵smatz
item from the pool
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz