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/msm5832.cpp | |
| parent | 5a2f80dcde2e76356bf568f1e2d71b054a7db45b (diff) | |
clang-modernize part 6
Diffstat (limited to 'src/devices/machine/msm5832.cpp')
| -rw-r--r-- | src/devices/machine/msm5832.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/msm5832.cpp b/src/devices/machine/msm5832.cpp index 7bc6fa70bfa..21fdeb3ba63 100644 --- a/src/devices/machine/msm5832.cpp +++ b/src/devices/machine/msm5832.cpp @@ -96,8 +96,8 @@ msm5832_device::msm5832_device(const machine_config &mconfig, const char *tag, d m_write(0), m_cs(0) { - for (int i = 0; i < 13; i++) - m_reg[i] = 0; + for (auto & elem : m_reg) + elem = 0; } |
