summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/z80/z80.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/z80/z80.cpp')
-rw-r--r--src/devices/cpu/z80/z80.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/z80/z80.cpp b/src/devices/cpu/z80/z80.cpp
index 5f64bb2ab0e..81bfd9c5634 100644
--- a/src/devices/cpu/z80/z80.cpp
+++ b/src/devices/cpu/z80/z80.cpp
@@ -3672,9 +3672,9 @@ void z80_device::state_string_export(const device_state_entry &entry, std::strin
// helper function
//-------------------------------------------------
-util::disasm_interface *z80_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> z80_device::create_disassembler()
{
- return new z80_disassembler;
+ return std::make_unique<z80_disassembler>();
}