From 322af0fb381808a942336dfc22230e5a69ec0470 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sun, 6 Aug 2017 13:57:09 -0230 Subject: [PATCH] Fixed code where emplace_back was being used incorrectly. --- src/emucore/M6502.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/M6502.cxx b/src/emucore/M6502.cxx index 20bacfa69..7f35b85f8 100644 --- a/src/emucore/M6502.cxx +++ b/src/emucore/M6502.cxx @@ -414,7 +414,7 @@ void M6502::attach(Debugger& debugger) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uInt32 M6502::addCondBreak(Expression* e, const string& name) { - myBreakConds.emplace_back(unique_ptr(e)); + myBreakConds.emplace_back(e); myBreakCondNames.push_back(name); return uInt32(myBreakConds.size() - 1); }