summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tia.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tia.h')
-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);