From 7db4bee1c11e3bad33f32bfe9fe4b165e644e15c Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 7 Jul 2014 18:14:16 +0000 Subject: [PATCH] pimp: add some clustering in the Amiga export to speed up things. --- src/lol/base/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lol/base/array.h b/src/lol/base/array.h index 8c7257ba..9e48c33e 100644 --- a/src/lol/base/array.h +++ b/src/lol/base/array.h @@ -113,7 +113,7 @@ public: array_base& operator+=(array_base const &that) { int todo = that.m_count; - Reserve(m_count + that.m_count); + Reserve(m_count + todo); for (int i = 0; i < todo; i++) new(&m_data[m_count + i]) element_t(that[i]); m_count += todo;