summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mc68hc11/mc68hc11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mc68hc11/mc68hc11.cpp')
-rw-r--r--src/devices/cpu/mc68hc11/mc68hc11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/mc68hc11/mc68hc11.cpp b/src/devices/cpu/mc68hc11/mc68hc11.cpp
index cebc8b47420..a48f3eed4c2 100644
--- a/src/devices/cpu/mc68hc11/mc68hc11.cpp
+++ b/src/devices/cpu/mc68hc11/mc68hc11.cpp
@@ -62,9 +62,9 @@ device_memory_interface::space_config_vector mc68hc11_cpu_device::memory_space_c
};
}
-util::disasm_interface *mc68hc11_cpu_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> mc68hc11_cpu_device::create_disassembler()
{
- return new hc11_disassembler;
+ return std::make_unique<hc11_disassembler>();
}