summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/coretmpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/coretmpl.h')
-rw-r--r--src/lib/util/coretmpl.h12
1 files changed, 6 insertions, 6 deletions
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