Skip to content

Commit

Permalink
refs #5167. Fix error in exception usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Nov 29, 2012
1 parent 453b6ed commit 302f1b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace MantidQt
class PeakTransformException : public std::exception
{
public:
PeakTransformException(const std::string& msg) : std::exception(msg.c_str())
PeakTransformException() : std::exception()
{
}
};
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/SliceViewer/src/PeakTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace MantidQt
}
else
{
throw PeakTransformException("Could not process mapped dimensions");
throw PeakTransformException();
}
}

Expand Down

0 comments on commit 302f1b4

Please sign in to comment.