aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/qtmipsexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/qtmipsexception.cpp')
-rw-r--r--qtmips_machine/qtmipsexception.cpp36
1 files changed, 9 insertions, 27 deletions
diff --git a/qtmips_machine/qtmipsexception.cpp b/qtmips_machine/qtmipsexception.cpp
index 76d0cc6..d2b0622 100644
--- a/qtmips_machine/qtmipsexception.cpp
+++ b/qtmips_machine/qtmipsexception.cpp
@@ -32,46 +32,28 @@ QString QtMipsException::msg(bool pos) const {
QtMipsExceptionInput::QtMipsExceptionInput(QTMIPS_ARGS_COMMON)
- : QtMipsException(reason, ext, file, line) {
- return;
-}
+ : QtMipsException(reason, ext, file, line) { }
QtMipsExceptionRuntime::QtMipsExceptionRuntime(QTMIPS_ARGS_COMMON)
- : QtMipsException(reason, ext, file, line) {
- return;
-}
+ : QtMipsException(reason, ext, file, line) { }
QtMipsExceptionUnsupportedInstruction::QtMipsExceptionUnsupportedInstruction(QTMIPS_ARGS_COMMON)
- : QtMipsExceptionRuntime(reason, ext, file, line) {
- return;
-}
+ : QtMipsExceptionRuntime(reason, ext, file, line) { }
QtMipsExceptionUnsupportedAluOperation::QtMipsExceptionUnsupportedAluOperation(QTMIPS_ARGS_COMMON)
- : QtMipsExceptionRuntime(reason, ext, file, line) {
- return;
-}
+ : QtMipsExceptionRuntime(reason, ext, file, line) { }
QtMipsExceptionOverflow::QtMipsExceptionOverflow(QTMIPS_ARGS_COMMON)
- : QtMipsExceptionRuntime(reason, ext, file, line) {
- return;
-}
+ : QtMipsExceptionRuntime(reason, ext, file, line) { }
QtMipsExceptionUnalignedJump::QtMipsExceptionUnalignedJump(QTMIPS_ARGS_COMMON)
- : QtMipsExceptionRuntime(reason, ext, file, line) {
- return;
-}
+ : QtMipsExceptionRuntime(reason, ext, file, line) { }
QtMipsExceptionUnknownMemoryControl::QtMipsExceptionUnknownMemoryControl(QTMIPS_ARGS_COMMON)
- : QtMipsExceptionRuntime(reason, ext, file, line) {
- return;
-}
+ : QtMipsExceptionRuntime(reason, ext, file, line) { }
QtMipsExceptionOutOfMemoryAccess::QtMipsExceptionOutOfMemoryAccess(QTMIPS_ARGS_COMMON)
- : QtMipsExceptionRuntime(reason, ext, file, line) {
- return;
-}
+ : QtMipsExceptionRuntime(reason, ext, file, line) { }
QtMipsExceptionSanity::QtMipsExceptionSanity(QTMIPS_ARGS_COMMON)
- : QtMipsException(reason, ext, file, line) {
- return;
-}
+ : QtMipsException(reason, ext, file, line) { }