summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adb/adb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/adb/adb.h')
-rw-r--r--src/devices/bus/adb/adb.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/bus/adb/adb.h b/src/devices/bus/adb/adb.h
index 6d75a5c853d..896da6d9b75 100644
--- a/src/devices/bus/adb/adb.h
+++ b/src/devices/bus/adb/adb.h
@@ -22,10 +22,7 @@ public:
adb_connector(const machine_config &mconfig, const char *tag, device_t *owner, T &&opts, const char *dflt, bool fixed = false)
: adb_connector(mconfig, tag, owner, 0)
{
- option_reset();
- opts(*this);
- set_default_option(dflt);
- set_fixed(fixed);
+ set_options(std::forward<T>(opts), dflt, fixed);
}
adb_connector(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);