summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/legscsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/legscsi.h')
-rw-r--r--src/devices/machine/legscsi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/legscsi.h b/src/devices/machine/legscsi.h
index b86bb61505c..fee1b333061 100644
--- a/src/devices/machine/legscsi.h
+++ b/src/devices/machine/legscsi.h
@@ -13,7 +13,7 @@
class legacy_scsi_host_adapter : public device_t
{
public:
- void set_scsi_port(const char *tag) { m_scsi_port.set_tag(tag); }
+ template <typename T> void set_scsi_port(T && tag) { m_scsi_port.set_tag(std::forward<T>(tag)); }
protected:
legacy_scsi_host_adapter(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);