Fixed code where emplace_back was being used incorrectly.

This commit is contained in:
Stephen Anthony 2017-08-06 13:57:09 -02:30
parent e2b78b6df7
commit 322af0fb38
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ void M6502::attach(Debugger& debugger)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt32 M6502::addCondBreak(Expression* e, const string& name)
{
myBreakConds.emplace_back(unique_ptr<Expression>(e));
myBreakConds.emplace_back(e);
myBreakCondNames.push_back(name);
return uInt32(myBreakConds.size() - 1);
}