diff options
author | 2018-03-25 01:44:45 +1100 | |
---|---|---|
committer | 2018-03-25 01:44:45 +1100 | |
commit | 8142f24c4307439397ffb2c01fab76e6f2c1b95e (patch) | |
tree | d279883a544fe6df634040592a597d14c5c76c40 /src/devices/cpu/h8/h8h.cpp | |
parent | 2ad88fd875f04a801cedb87a27d5d93d9b4bf302 (diff) |
don't pass so many naked pointers around (nw)
Diffstat (limited to 'src/devices/cpu/h8/h8h.cpp')
-rw-r--r-- | src/devices/cpu/h8/h8h.cpp | 4 |
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" |