From b3afc83bde187412269b825d052116727aa3c1bd Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 17 Jun 2018 17:46:18 -0400 Subject: Allow passing std::unique_ptr directly to save_pointer and remove now-superfluous .get() in many drivers/devices (nw) --- src/mame/machine/atarixga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mame/machine/atarixga.cpp') diff --git a/src/mame/machine/atarixga.cpp b/src/mame/machine/atarixga.cpp index d3858fcce86..968abee4048 100644 --- a/src/mame/machine/atarixga.cpp +++ b/src/mame/machine/atarixga.cpp @@ -74,7 +74,7 @@ void atari_136094_0072_device::device_start() { m_ram = std::make_unique(RAM_WORDS); - save_pointer(NAME(m_ram.get()), RAM_WORDS * sizeof(uint16_t)); + save_pointer(NAME(m_ram), RAM_WORDS * sizeof(uint16_t)); save_item(NAME(m_address)); save_item(NAME(m_ciphertext)); } @@ -293,7 +293,7 @@ atari_136095_0072_device::atari_136095_0072_device(const machine_config &mconfig void atari_136095_0072_device::device_start() { m_ram = std::make_unique(RAM_WORDS); - save_pointer(NAME(m_ram.get()), RAM_WORDS * sizeof(uint16_t)); + save_pointer(NAME(m_ram), RAM_WORDS * sizeof(uint16_t)); save_item(NAME(m_update.addr)); save_item(NAME(m_update.data)); -- cgit v1.2.3