diff options
author | Tobias Markmann <tm@ayena.de> | 2017-07-11 16:19:30 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-07-11 16:20:04 (GMT) |
commit | e5111d0125ad107e12150e0cb5447209189c5338 (patch) | |
tree | 876a2f18e7da2e5d4c4bd605563b763f784f5935 /Sluift/ElementConvertors/ForwardedConvertor.h | |
parent | 8b3082e5fa56540714f3ce9b72f87965a62b5d14 (diff) | |
download | swift-e5111d0125ad107e12150e0cb5447209189c5338.zip swift-e5111d0125ad107e12150e0cb5447209189c5338.tar.bz2 |
Add missing SWIFTEN_OVERRIDE statements to dtors
Also removes -Winconsistent-missing-destructor-override from
the list of ignored clang warnings.
Test-Information:
Tested on macOS 10.12.5 with clang trunk.
Change-Id: Iad951879e01eb951a2a393399f55e4e37437c6a2
Diffstat (limited to 'Sluift/ElementConvertors/ForwardedConvertor.h')
-rw-r--r-- | Sluift/ElementConvertors/ForwardedConvertor.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Sluift/ElementConvertors/ForwardedConvertor.h b/Sluift/ElementConvertors/ForwardedConvertor.h index a83b5f4..c985aef 100644 --- a/Sluift/ElementConvertors/ForwardedConvertor.h +++ b/Sluift/ElementConvertors/ForwardedConvertor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2016 Isode Limited. + * Copyright (c) 2014-2017 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -17,14 +17,13 @@ namespace Swift { class ForwardedConvertor : public GenericLuaElementConvertor<Forwarded> { public: ForwardedConvertor(LuaElementConvertors* convertors); - virtual ~ForwardedConvertor(); + virtual ~ForwardedConvertor() SWIFTEN_OVERRIDE; virtual std::shared_ptr<Forwarded> doConvertFromLua(lua_State*) SWIFTEN_OVERRIDE; virtual void doConvertToLua(lua_State*, std::shared_ptr<Forwarded>) SWIFTEN_OVERRIDE; virtual boost::optional<Documentation> getDocumentation() const SWIFTEN_OVERRIDE; private: - private: LuaElementConvertors* convertors; }; } |