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