diff options
author | Tobias Markmann <tm@ayena.de> | 2016-03-15 12:21:59 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-03-17 16:48:24 (GMT) |
commit | eb71745d7767f45d2a6242b71c5d0354a2d42387 (patch) | |
tree | d7f3a7f2d56f0a3a42049fbc596210de7848f71c /Sluift/ElementConvertors/ResultSetConvertor.h | |
parent | 6159c580884583bad0e17d4e96ea9ffc7e0be29a (diff) | |
download | swift-eb71745d7767f45d2a6242b71c5d0354a2d42387.zip swift-eb71745d7767f45d2a6242b71c5d0354a2d42387.tar.bz2 |
Cleanup #pragma pollution in Sluift element convertors
There were a lot #pramas to ignore unused private field
warnings. The pragmas and the unused fields have been
removed.
Test-Information:
Build on OS X 10.11.3 with XCode Clang.
Change-Id: Ie2f5398771088f93631c0f2c03d3cfdcca94cee6
Diffstat (limited to 'Sluift/ElementConvertors/ResultSetConvertor.h')
-rw-r--r-- | Sluift/ElementConvertors/ResultSetConvertor.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Sluift/ElementConvertors/ResultSetConvertor.h b/Sluift/ElementConvertors/ResultSetConvertor.h index 50a6836..46353f2 100644 --- a/Sluift/ElementConvertors/ResultSetConvertor.h +++ b/Sluift/ElementConvertors/ResultSetConvertor.h @@ -1,29 +1,27 @@ /* - * Copyright (c) 2014 Isode Limited. + * Copyright (c) 2014-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <Sluift/GenericLuaElementConvertor.h> #include <Swiften/Base/Override.h> #include <Swiften/Elements/ResultSet.h> +#include <Sluift/GenericLuaElementConvertor.h> + namespace Swift { class LuaElementConvertors; class ResultSetConvertor : public GenericLuaElementConvertor<ResultSet> { public: - ResultSetConvertor(LuaElementConvertors* convertors); + ResultSetConvertor(); virtual ~ResultSetConvertor(); virtual boost::shared_ptr<ResultSet> doConvertFromLua(lua_State*) SWIFTEN_OVERRIDE; virtual void doConvertToLua(lua_State*, boost::shared_ptr<ResultSet>) SWIFTEN_OVERRIDE; virtual boost::optional<Documentation> getDocumentation() const SWIFTEN_OVERRIDE; - - private: - LuaElementConvertors* convertors; }; } |