diff options
author | 2019-02-14 06:21:23 +0900 | |
---|---|---|
committer | 2019-02-13 22:21:23 +0100 | |
commit | e886abcd37c0da996503db59b6a994de626e33a9 (patch) | |
tree | 3f0e8705aae262685ace4f20a78ee42c1dccfd3c | |
parent | 5b1418a6ded611c18ca9b56d41a78faf16ced47c (diff) |
es8712.cpp : Allow finder for msm (#4595)
-rw-r--r-- | src/devices/sound/es8712.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/es8712.h b/src/devices/sound/es8712.h index d355bd10633..b1cfafc1424 100644 --- a/src/devices/sound/es8712.h +++ b/src/devices/sound/es8712.h @@ -23,7 +23,7 @@ public: es8712_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // configuration - void set_msm_tag(const char *tag) { m_msm.set_tag(tag); } + template <typename T> void set_msm_tag(T &&tag) { m_msm.set_tag(std::forward<T>(tag)); } auto reset_handler() { return m_reset_handler.bind(); } auto msm_write_handler() { return m_msm_write_cb.bind(); } |