diff options
Diffstat (limited to 'src/object')
-rw-r--r-- | src/object/level/parserexceptions.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/object/level/parserexceptions.h b/src/object/level/parserexceptions.h index 813467f..ca87ce1 100644 --- a/src/object/level/parserexceptions.h +++ b/src/object/level/parserexceptions.h @@ -30,8 +30,9 @@ class CLevelParserException : public std::exception { public: CLevelParserException(std::string message) noexcept; + virtual ~CLevelParserException() noexcept {} const char* what() const noexcept; - + protected: std::string m_message; }; @@ -40,10 +41,12 @@ class CLevelParserExceptionMissingParam : public CLevelParserException { public: CLevelParserExceptionMissingParam(CLevelParserParam* thisParam) noexcept; + virtual ~CLevelParserExceptionMissingParam() noexcept {} }; class CLevelParserExceptionBadParam : public CLevelParserException { public: CLevelParserExceptionBadParam(CLevelParserParam* thisParam, std::string requestedType) noexcept; + virtual ~CLevelParserExceptionBadParam() noexcept {} };
\ No newline at end of file |