diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2014-10-07 23:25:37 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2014-10-07 23:25:37 +0200 |
commit | 342210b0628d417a32f375efbfbd91f5537ab148 (patch) | |
tree | 502a67a43620bb10babc15c15965669431af7f57 /src/object/level | |
parent | 12feb49098b3fdcaa489ceb557a4461b5cdebcf9 (diff) | |
download | colobot-342210b0628d417a32f375efbfbd91f5537ab148.tar.gz colobot-342210b0628d417a32f375efbfbd91f5537ab148.tar.bz2 colobot-342210b0628d417a32f375efbfbd91f5537ab148.zip |
GCC 4.6 compilation fixes
Diffstat (limited to 'src/object/level')
-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 |