summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/interpro
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-11-15 03:53:47 +1100
committer Vas Crabb <vas@vastheman.com>2020-11-15 03:53:47 +1100
commit55b8ca317ab1f77850f498c1523355e1f5dd8d03 (patch)
treebada7948236b18684609f47024cc9ca227a5ef89 /src/devices/bus/interpro
parent4db7f0439c3b841eb07d2320e39be38269e6cd56 (diff)
-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
Diffstat (limited to 'src/devices/bus/interpro')
-rw-r--r--src/devices/bus/interpro/keyboard/hle.cpp4
-rw-r--r--src/devices/bus/interpro/keyboard/hle.h4
-rw-r--r--src/devices/bus/interpro/keyboard/lle.cpp4
-rw-r--r--src/devices/bus/interpro/keyboard/lle.h4
4 files changed, 8 insertions, 8 deletions
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)