summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/8x300/8x300.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/8x300/8x300.cpp')
-rw-r--r--src/devices/cpu/8x300/8x300.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/8x300/8x300.cpp b/src/devices/cpu/8x300/8x300.cpp
index 575b3f2d0d0..3c44d47c313 100644
--- a/src/devices/cpu/8x300/8x300.cpp
+++ b/src/devices/cpu/8x300/8x300.cpp
@@ -591,7 +591,7 @@ void n8x300_cpu_device::execute_run()
} while (m_icount > 0);
}
-util::disasm_interface *n8x300_cpu_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> n8x300_cpu_device::create_disassembler()
{
- return new n8x300_disassembler;
+ return std::make_unique<n8x300_disassembler>();
}