summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-18 18:04:02 +0000
committeryexo <yexo@openttd.org>2010-02-18 18:04:02 +0000
commit3a3696473437193f411e60a56f8371a6fa1904b9 (patch)
tree97b02ec6c1d921556b4f627c936f94a0e9fed1c7 /src/misc
parent1abc0db336655f16fcc584fb8f5521beeb063234 (diff)
downloadopenttd-3a3696473437193f411e60a56f8371a6fa1904b9.tar.xz
(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/binaryheap.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/binaryheap.hpp b/src/misc/binaryheap.hpp
index 85dc202f0..073d24638 100644
--- a/src/misc/binaryheap.hpp
+++ b/src/misc/binaryheap.hpp
@@ -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)
{