summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/eeprom.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-06-17 17:46:18 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-06-24 09:08:33 -0400
commitb3afc83bde187412269b825d052116727aa3c1bd (patch)
tree98809c6cc5d861056842a4acfac24b11a14ecc8f /src/devices/machine/eeprom.cpp
parent297b99c0faa2e70ed3fb5cc4c9ed60e40cd9af5a (diff)
Allow passing std::unique_ptr<TYPE> directly to save_pointer and remove now-superfluous .get() in many drivers/devices (nw)
Diffstat (limited to 'src/devices/machine/eeprom.cpp')
-rw-r--r--src/devices/machine/eeprom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/eeprom.cpp b/src/devices/machine/eeprom.cpp
index 02ec231478a..86e6c749ff1 100644
--- a/src/devices/machine/eeprom.cpp
+++ b/src/devices/machine/eeprom.cpp
@@ -181,7 +181,7 @@ void eeprom_base_device::device_start()
// save states
save_item(NAME(m_completion_time));
- save_pointer(m_data.get(), "m_data", size);
+ save_pointer(NAME(m_data), size);
}