From e886abcd37c0da996503db59b6a994de626e33a9 Mon Sep 17 00:00:00 2001 From: cam900 Date: Thu, 14 Feb 2019 06:21:23 +0900 Subject: [PATCH] es8712.cpp : Allow finder for msm (#4595) --- src/devices/sound/es8712.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 void set_msm_tag(T &&tag) { m_msm.set_tag(std::forward(tag)); } auto reset_handler() { return m_reset_handler.bind(); } auto msm_write_handler() { return m_msm_write_cb.bind(); }