mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r7210) -CodeChange: [YAPF] the global cache object is now not destroyed/recreated whenever the cache is invalidated. It now supports Flush() method that is used instead. It should also fix mem-leak warning produced by valgrind (Tron)
This commit is contained in:
@@ -24,6 +24,8 @@ public:
|
||||
|
||||
/** implicit constructor */
|
||||
FORCEINLINE CArrayT() { }
|
||||
/** Clear (destroy) all items */
|
||||
FORCEINLINE void Clear() {m_a.Clear();}
|
||||
/** Return actual number of items */
|
||||
FORCEINLINE int Size() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user