summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sm8500/sm8500.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sm8500/sm8500.cpp')
-rw-r--r--src/devices/cpu/sm8500/sm8500.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/sm8500/sm8500.cpp b/src/devices/cpu/sm8500/sm8500.cpp
index 85622f5a197..c5ab3aeccfe 100644
--- a/src/devices/cpu/sm8500/sm8500.cpp
+++ b/src/devices/cpu/sm8500/sm8500.cpp
@@ -349,9 +349,9 @@ void sm8500_cpu_device::process_interrupts()
}
-util::disasm_interface *sm8500_cpu_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> sm8500_cpu_device::create_disassembler()
{
- return new sm8500_disassembler;
+ return std::make_unique<sm8500_disassembler>();
}