diff options
author | 2015-12-04 10:29:21 +0100 | |
---|---|---|
committer | 2015-12-04 10:29:21 +0100 | |
commit | 1b0ec08af5cd3b3268b5889ba4e30409431434e2 (patch) | |
tree | 42c510afaaeb15e1f97eff044a4d295586c30aaa /src/devices/machine/mc6843.cpp | |
parent | 5a2f80dcde2e76356bf568f1e2d71b054a7db45b (diff) |
clang-modernize part 6
Diffstat (limited to 'src/devices/machine/mc6843.cpp')
-rw-r--r-- | src/devices/machine/mc6843.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/mc6843.cpp b/src/devices/machine/mc6843.cpp index bec088ff829..04a7b6a0906 100644 --- a/src/devices/machine/mc6843.cpp +++ b/src/devices/machine/mc6843.cpp @@ -95,9 +95,9 @@ mc6843_device::mc6843_device(const machine_config &mconfig, const char *tag, dev m_index_pulse(0), m_timer_cont(nullptr) { - for (int i = 0; i < 128; i++) + for (auto & elem : m_data) { - m_data[i] = 0; + elem = 0; } } |