1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 20:49:11 +00:00

(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage

This commit is contained in:
yexo
2010-02-18 18:04:02 +00:00
parent 1abc0db336
commit 3a36964734
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ private:
ItemPtr *m_items; ///< The heap item pointers
public:
explicit CBinaryHeapT(int max_items = 102400)
explicit CBinaryHeapT(int max_items)
: m_size(0)
, m_max_size(max_items)
{