summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/uts_kbd/uts_kbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/uts_kbd/uts_kbd.h')
-rw-r--r--src/devices/bus/uts_kbd/uts_kbd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/bus/uts_kbd/uts_kbd.h b/src/devices/bus/uts_kbd/uts_kbd.h
index 873de3ee9e7..934df54a588 100644
--- a/src/devices/bus/uts_kbd/uts_kbd.h
+++ b/src/devices/bus/uts_kbd/uts_kbd.h
@@ -32,10 +32,7 @@ public:
uts_keyboard_port_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&opts, const char *dflt)
: uts_keyboard_port_device(mconfig, tag, owner, 0U)
{
- option_reset();
- opts(*this);
- set_default_option(dflt);
- set_fixed(false);
+ set_options(std::forward<T>(opts), dflt, false);
}
// configuration