From 26e7a17b6326aa5a75a6276e52cf84a94c16d7a0 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 28 Jan 2015 09:20:10 +0100 Subject: Cleanups and version bump --- src/lib/util/coretmpl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/util/coretmpl.h') diff --git a/src/lib/util/coretmpl.h b/src/lib/util/coretmpl.h index 55faa0fde0c..c441aabb147 100644 --- a/src/lib/util/coretmpl.h +++ b/src/lib/util/coretmpl.h @@ -100,12 +100,12 @@ public: void resize_keep_and_clear_new(int count, UINT8 data = 0) { int oldcount = m_count; resize_keep(count); if (oldcount < m_count) clear_internal(oldcount, m_count - oldcount, data); } // batch operations - void copyfrom(const dynamic_array<_ElementType> &source) - { - resize(source.count()); - for (int i=0; i < source.count(); i++) - m_array[i] = source[i]; - } + void copyfrom(const dynamic_array<_ElementType> &source) + { + resize(source.count()); + for (int i=0; i < source.count(); i++) + m_array[i] = source[i]; + } private: // internal helpers -- cgit v1.2.3-70-g09d2