summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-03-24 16:29:15 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-03-24 16:29:20 -0400
commit78934fe9cc0bb0ad64ea3fc732a4d6a0ab943411 (patch)
treefb004e3f0936c6d10881b4fd661bf85e9e4f22f6
parentb0bb77c5069b40cfbd740164c3c510dfac7cdc97 (diff)
std::move is required here, unfortunately (nw)
-rw-r--r--src/devices/cpu/sparc/mb86901.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sparc/mb86901.cpp b/src/devices/cpu/sparc/mb86901.cpp
index e40d551dc94..fa226356bb2 100644
--- a/src/devices/cpu/sparc/mb86901.cpp
+++ b/src/devices/cpu/sparc/mb86901.cpp
@@ -527,7 +527,7 @@ std::unique_ptr<util::disasm_interface> mb86901_device::create_disassembler()
{
auto dasm = std::make_unique<sparc_disassembler>(static_cast<sparc_disassembler::config const *>(this), 7);
m_asi_desc_adder(dasm.get());
- return dasm;
+ return std::move(dasm);
}