mirror of https://github.com/stella-emu/stella.git
Fixed code where emplace_back was being used incorrectly.
This commit is contained in:
parent
e2b78b6df7
commit
322af0fb38
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue