summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-28 12:17:39 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-28 12:17:39 -0400
commit8863aef5199ca722b32dbe30a12fdcc917562812 (patch)
tree84f1ffcea373a21cebdd6189f109c47d718bc817
parent2fedd39d2baffe6adb881a2fda9067299f117bf8 (diff)
Fix build (nw)
-rw-r--r--src/mame/video/tia.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/tia.h b/src/mame/video/tia.h
index ddcc369e0eb..36bf8d6e4ae 100644
--- a/src/mame/video/tia.h
+++ b/src/mame/video/tia.h
@@ -220,7 +220,7 @@ public:
template <typename T> tia_pal_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&tia_tag)
: tia_pal_video_device(mconfig, tag, owner, clock)
{
- m_tia.set_tag(std::forward<T>(tia_tag));
+ set_tia_tag(tia_tag);
}
tia_pal_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
@@ -238,7 +238,7 @@ public:
template <typename T> tia_ntsc_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&tia_tag)
: tia_ntsc_video_device(mconfig, tag, owner, clock)
{
- m_tia.set_tag(std::forward<T>(tia_tag));
+ set_tia_tag(tia_tag);
}
tia_ntsc_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);