summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/cosmac/cosmac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/cosmac/cosmac.cpp')
-rw-r--r--src/devices/cpu/cosmac/cosmac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/cosmac/cosmac.cpp b/src/devices/cpu/cosmac/cosmac.cpp
index a868e604e9f..73170762cbf 100644
--- a/src/devices/cpu/cosmac/cosmac.cpp
+++ b/src/devices/cpu/cosmac/cosmac.cpp
@@ -292,8 +292,8 @@ cosmac_device::cosmac_device(const machine_config &mconfig, device_type type, co
m_io(nullptr),
m_direct(nullptr)
{
- for (int i = 0; i < 4; i++)
- m_ef[i] = CLEAR_LINE;
+ for (auto & elem : m_ef)
+ elem = CLEAR_LINE;
}