diff options
author | 2018-05-14 11:16:50 +1000 | |
---|---|---|
committer | 2018-05-14 11:16:50 +1000 | |
commit | 75f1e7f86d479ba2df234d64448b5d889f666590 (patch) | |
tree | caa43b8f4cd666340c798b726c53ce29e03d53fd /src/devices/video/huc6272.h | |
parent | 62be291842be67be394942ca6ec8fa835dac858e (diff) |
set_tag can now take things other than C strings - please don't write new legacy code (nw)
Diffstat (limited to 'src/devices/video/huc6272.h')
-rw-r--r-- | src/devices/video/huc6272.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/huc6272.h b/src/devices/video/huc6272.h index 22f93c7456c..0c83e275f10 100644 --- a/src/devices/video/huc6272.h +++ b/src/devices/video/huc6272.h @@ -41,7 +41,7 @@ public: huc6272_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); template <class Object> devcb_base &set_irq_changed_callback(Object &&cb) { return m_irq_changed_cb.set_callback(std::forward<Object>(cb)); } - void set_rainbow_tag(const char *tag) { m_huc6271.set_tag(tag); } + template <typename T> void set_rainbow_tag(const char *tag) { m_huc6271.set_tag(std::forward<T>(tag)); } // I/O operations DECLARE_WRITE32_MEMBER( write ); |