summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/esqpanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/esqpanel.cpp')
-rw-r--r--src/mame/machine/esqpanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/esqpanel.cpp b/src/mame/machine/esqpanel.cpp
index 9fb5b1c9d38..f5df1b55e87 100644
--- a/src/mame/machine/esqpanel.cpp
+++ b/src/mame/machine/esqpanel.cpp
@@ -154,7 +154,7 @@ namespace esqpanel {
m_to_send.put(c);
const std::string &s = m_to_send.str();
- for (auto iter: m_panels)
+ for (const auto &iter: m_panels)
{
external_panel_ptr panel = iter.second;
if (panel->send_display_data())
@@ -215,7 +215,7 @@ namespace esqpanel {
}
// Echo the non-command message to any other connected panels that want it
- for (auto iter: m_panels)
+ for (const auto &iter: m_panels)
{
external_panel_ptr other_panel = iter.second;
if (other_panel != panel && (t & other_panel->send_message_types()) != 0)