summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hmcs40/hmcs40.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hmcs40/hmcs40.cpp')
-rw-r--r--src/devices/cpu/hmcs40/hmcs40.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hmcs40/hmcs40.cpp b/src/devices/cpu/hmcs40/hmcs40.cpp
index abb058023c1..dc64959475b 100644
--- a/src/devices/cpu/hmcs40/hmcs40.cpp
+++ b/src/devices/cpu/hmcs40/hmcs40.cpp
@@ -174,9 +174,9 @@ void hmcs40_cpu_device::state_string_export(const device_state_entry &entry, std
}
}
-util::disasm_interface *hmcs40_cpu_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> hmcs40_cpu_device::create_disassembler()
{
- return new hmcs40_disassembler;
+ return std::make_unique<hmcs40_disassembler>();
}