From 342210b0628d417a32f375efbfbd91f5537ab148 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Tue, 7 Oct 2014 23:25:37 +0200 Subject: GCC 4.6 compilation fixes --- src/object/level/parserexceptions.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/object/level') 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 -- cgit v1.2.3-1-g7c22