summaryrefslogtreecommitdiffstats
path: root/logic
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 /logic
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 'logic')
-rw-r--r--logic/MMCJson.h2
-rw-r--r--logic/VersionFile.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/logic/MMCJson.h b/logic/MMCJson.h
index f2cc4b31..71ded435 100644
--- a/logic/MMCJson.h
+++ b/logic/MMCJson.h
@@ -15,7 +15,7 @@ class JSONValidationError : public MMCError
{
public:
JSONValidationError(QString cause) : MMCError(cause) {};
- virtual ~JSONValidationError() {};
+ virtual ~JSONValidationError() noexcept {}
};
namespace MMCJson
diff --git a/logic/VersionFile.h b/logic/VersionFile.h
index 67d22b23..169a2066 100644
--- a/logic/VersionFile.h
+++ b/logic/VersionFile.h
@@ -13,7 +13,7 @@ class VersionBuildError : public MMCError
{
public:
VersionBuildError(QString cause) : MMCError(cause) {};
- virtual ~VersionBuildError() {};
+ virtual ~VersionBuildError() noexcept {}
};
/**
@@ -28,7 +28,7 @@ public:
"version of the vanilla launcher than this version of MultiMC supports (%2).")
.arg(actual)
.arg(supported)) {};
- virtual ~LauncherVersionError() {};
+ virtual ~LauncherVersionError() noexcept {}
};
/**
@@ -43,7 +43,7 @@ public:
.arg(fileId)
.arg(mcVersion)
.arg(parentMcVersion)) {};
- virtual ~MinecraftVersionMismatch() {};
+ virtual ~MinecraftVersionMismatch() noexcept {}
};
struct RawLibrary;
@@ -124,4 +124,4 @@ public: /* data */
QList<RawLibraryPtr> overwriteLibs;
QList<RawLibraryPtr> addLibs;
QList<QString> removeLibs;
-}; \ No newline at end of file
+};