summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/netlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/netlist.h')
-rw-r--r--src/devices/machine/netlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/netlist.h b/src/devices/machine/netlist.h
index 583a9d5fd26..94c9c29e36e 100644
--- a/src/devices/machine/netlist.h
+++ b/src/devices/machine/netlist.h
@@ -658,8 +658,8 @@ public:
ATTR_COLD void reset()
{
m_pos = 0;
- for (int i = 0; i < MAX_INPUT_CHANNELS; i++)
- m_buffer[i] = nullptr;
+ for (auto & elem : m_buffer)
+ elem = nullptr;
}
ATTR_COLD int resolve()