summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8h.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8h.cpp')
-rw-r--r--src/devices/cpu/h8/h8h.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/h8/h8h.cpp b/src/devices/cpu/h8/h8h.cpp
index 3d749e5480f..ff2056c9805 100644
--- a/src/devices/cpu/h8/h8h.cpp
+++ b/src/devices/cpu/h8/h8h.cpp
@@ -11,9 +11,9 @@ h8h_device::h8h_device(const machine_config &mconfig, device_type type, const ch
mode_advanced = true;
}
-util::disasm_interface *h8h_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> h8h_device::create_disassembler()
{
- return new h8h_disassembler;
+ return std::make_unique<h8h_disassembler>();
}
#include "cpu/h8/h8h.hxx"