summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2/alto2cpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/alto2/alto2cpu.cpp')
-rw-r--r--src/devices/cpu/alto2/alto2cpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/alto2/alto2cpu.cpp b/src/devices/cpu/alto2/alto2cpu.cpp
index 993738f82e0..cfe4d1a2fc4 100644
--- a/src/devices/cpu/alto2/alto2cpu.cpp
+++ b/src/devices/cpu/alto2/alto2cpu.cpp
@@ -2982,7 +2982,7 @@ void alto2_cpu_device::soft_reset()
m_bitclk_time = 0; // reset the bitclk timing accu
}
-util::disasm_interface *alto2_cpu_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> alto2_cpu_device::create_disassembler()
{
- return new alto2_disassembler;
+ return std::make_unique<alto2_disassembler>();
}