Fix a compiling error by adding noexcept

This commit is contained in:
Jan Dalheimer
2014-03-10 18:55:54 +01:00
parent 5328cc7bbe
commit d11f10ea1e
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ public:
exceptionCause = cause;
QLOG_ERROR() << "Exception: " + cause;
};
virtual ~MMCError(){};
virtual ~MMCError() noexcept {}
virtual const char *what() const noexcept
{
return exceptionCause.toLocal8Bit();