diff options
Diffstat (limited to 'qtmips_machine')
-rw-r--r-- | qtmips_machine/qtmipsmachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/qtmipsmachine.cpp b/qtmips_machine/qtmipsmachine.cpp index 102dff0..6593dd0 100644 --- a/qtmips_machine/qtmipsmachine.cpp +++ b/qtmips_machine/qtmipsmachine.cpp @@ -94,7 +94,7 @@ void QtMipsMachine::step() { emit tick(); try { cr->step(); - } catch (QtMipsException e) { + } catch (QtMipsException &e) { run_t->stop(); set_status(ST_TRAPPED); emit program_trap(e); |