summaryrefslogtreecommitdiffstats
path: root/MMCError.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-03-10 18:55:54 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-03-10 18:55:54 +0100
commitd11f10ea1ed54336254838ff068258d2d42e0774 (patch)
treeda0a52e2b08548be119f943b9fd40b7fc9b004c9 /MMCError.h
parent5328cc7bbee5044b41355ff702af9c62971acc20 (diff)
downloadMultiMC-d11f10ea1ed54336254838ff068258d2d42e0774.tar
MultiMC-d11f10ea1ed54336254838ff068258d2d42e0774.tar.gz
MultiMC-d11f10ea1ed54336254838ff068258d2d42e0774.tar.lz
MultiMC-d11f10ea1ed54336254838ff068258d2d42e0774.tar.xz
MultiMC-d11f10ea1ed54336254838ff068258d2d42e0774.zip
Fix a compiling error by adding noexcept
Diffstat (limited to 'MMCError.h')
-rw-r--r--MMCError.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MMCError.h b/MMCError.h
index 7b2bd0c4..1f72b7a4 100644
--- a/MMCError.h
+++ b/MMCError.h
@@ -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();