summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hcd62121/hcd62121.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hcd62121/hcd62121.cpp')
-rw-r--r--src/devices/cpu/hcd62121/hcd62121.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hcd62121/hcd62121.cpp b/src/devices/cpu/hcd62121/hcd62121.cpp
index fa15345ec79..374743788e2 100644
--- a/src/devices/cpu/hcd62121/hcd62121.cpp
+++ b/src/devices/cpu/hcd62121/hcd62121.cpp
@@ -1752,7 +1752,7 @@ void hcd62121_cpu_device::execute_run()
} while (m_icount > 0);
}
-util::disasm_interface *hcd62121_cpu_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> hcd62121_cpu_device::create_disassembler()
{
- return new hcd62121_disassembler;
+ return std::make_unique<hcd62121_disassembler>();
}