summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8s2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8s2000.cpp')
-rw-r--r--src/devices/cpu/h8/h8s2000.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/h8/h8s2000.cpp b/src/devices/cpu/h8/h8s2000.cpp
index 38d7464b083..04da92cdee3 100644
--- a/src/devices/cpu/h8/h8s2000.cpp
+++ b/src/devices/cpu/h8/h8s2000.cpp
@@ -10,9 +10,9 @@ h8s2000_device::h8s2000_device(const machine_config &mconfig, device_type type,
has_exr = true;
}
-util::disasm_interface *h8s2000_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> h8s2000_device::create_disassembler()
{
- return new h8s2000_disassembler;
+ return std::make_unique<h8s2000_disassembler>();
}
#include "cpu/h8/h8s2000.hxx"