From 55b8ca317ab1f77850f498c1523355e1f5dd8d03 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 15 Nov 2020 03:53:47 +1100 Subject: -Switch to building MAME as C++17. * Updated sol2 to 3.2.2 * Updated pugixml to 1.10 * Increased minimum clang version to 6 * Cleaned up some stuff that can use new features --- src/devices/bus/interpro/keyboard/hle.cpp | 4 ++-- src/devices/bus/interpro/keyboard/hle.h | 4 ++-- src/devices/bus/interpro/keyboard/lle.cpp | 4 ++-- src/devices/bus/interpro/keyboard/lle.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/devices/bus/interpro') diff --git a/src/devices/bus/interpro/keyboard/hle.cpp b/src/devices/bus/interpro/keyboard/hle.cpp index 15dd262eddf..66fa8e44a30 100644 --- a/src/devices/bus/interpro/keyboard/hle.cpp +++ b/src/devices/bus/interpro/keyboard/hle.cpp @@ -122,7 +122,7 @@ DEFINE_DEVICE_TYPE_NS(INTERPRO_HLE_EN_US_KEYBOARD, bus::interpro::keyboard, hle_en_us_device, "kbd_hle_en_us", "InterPro Keyboard (HLE, US English)") -namespace bus { namespace interpro { namespace keyboard { +namespace bus::interpro::keyboard { namespace { @@ -461,4 +461,4 @@ u8 hle_en_us_device::translate(u8 row, u8 column) return TRANSLATION_TABLE[map][row][column]; } -} } } // namespace bus::interpro::keyboard +} // namespace bus::interpro::keyboard diff --git a/src/devices/bus/interpro/keyboard/hle.h b/src/devices/bus/interpro/keyboard/hle.h index 944569b9658..1f4e2066829 100644 --- a/src/devices/bus/interpro/keyboard/hle.h +++ b/src/devices/bus/interpro/keyboard/hle.h @@ -10,7 +10,7 @@ #include "sound/beep.h" #include "diserial.h" -namespace bus { namespace interpro { namespace keyboard { +namespace bus::interpro::keyboard { class hle_device_base : public device_t @@ -113,7 +113,7 @@ public: required_ioport m_modifiers; }; -} } } // namespace bus::interpro::keyboard +} // namespace bus::interpro::keyboard DECLARE_DEVICE_TYPE_NS(INTERPRO_HLE_EN_US_KEYBOARD, bus::interpro::keyboard, hle_en_us_device) diff --git a/src/devices/bus/interpro/keyboard/lle.cpp b/src/devices/bus/interpro/keyboard/lle.cpp index 6beb3581d13..7151f1e0fc0 100644 --- a/src/devices/bus/interpro/keyboard/lle.cpp +++ b/src/devices/bus/interpro/keyboard/lle.cpp @@ -157,7 +157,7 @@ DEFINE_DEVICE_TYPE_NS(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard, lle_en_us_device, "kbd_lle_en_us", "InterPro Keyboard (LLE, US English)") -namespace bus { namespace interpro { namespace keyboard { +namespace bus::interpro::keyboard { namespace { @@ -610,4 +610,4 @@ ioport_constructor lle_en_us_device::device_input_ports() const return INPUT_PORTS_NAME(lle_en_us_device); } -} } } // namespace bus::interpro::keyboard +} // namespace bus::interpro::keyboard diff --git a/src/devices/bus/interpro/keyboard/lle.h b/src/devices/bus/interpro/keyboard/lle.h index 98c565e6cfa..385f2484fab 100644 --- a/src/devices/bus/interpro/keyboard/lle.h +++ b/src/devices/bus/interpro/keyboard/lle.h @@ -12,7 +12,7 @@ #include "machine/bankdev.h" #include "sound/spkrdev.h" -namespace bus { namespace interpro { namespace keyboard { +namespace bus::interpro::keyboard { class lle_device_base : public device_t @@ -66,7 +66,7 @@ public: virtual tiny_rom_entry const *device_rom_region() const override; }; -} } } // namespace bus::interpro::keyboard +} // namespace bus::interpro::keyboard DECLARE_DEVICE_TYPE_NS(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard, lle_en_us_device) -- cgit v1.2.3-70-g09d2