summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8.cpp')
-rw-r--r--src/devices/cpu/h8/h8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/h8/h8.cpp b/src/devices/cpu/h8/h8.cpp
index 8b994cd02d0..06fa7991c06 100644
--- a/src/devices/cpu/h8/h8.cpp
+++ b/src/devices/cpu/h8/h8.cpp
@@ -1343,9 +1343,9 @@ void h8_device::set_nz32(uint32_t v)
CCR |= F_N;
}
-util::disasm_interface *h8_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> h8_device::create_disassembler()
{
- return new h8_disassembler;
+ return std::make_unique<h8_disassembler>();
}
#include "cpu/h8/h8.hxx"