summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/coretmpl.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-01-28 09:20:10 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-01-28 09:20:10 +0100
commit26e7a17b6326aa5a75a6276e52cf84a94c16d7a0 (patch)
treebab4468226c59d590688e0ece892f5bfbca58736 /src/lib/util/coretmpl.h
parent13b862c4fae88f0f819c2c4416d49249e4de45b9 (diff)
Cleanups and version bumpmame0158
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