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/UserTuneConvertor.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/UserTuneConvertor.h')
-rw-r--r-- | Sluift/ElementConvertors/UserTuneConvertor.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Sluift/ElementConvertors/UserTuneConvertor.h b/Sluift/ElementConvertors/UserTuneConvertor.h index e5d0c36..282b9fc 100644 --- a/Sluift/ElementConvertors/UserTuneConvertor.h +++ b/Sluift/ElementConvertors/UserTuneConvertor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Isode Limited. + * Copyright (c) 2014-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,23 +7,20 @@ #pragma once #include <Swiften/Base/Override.h> +#include <Swiften/Elements/UserTune.h> #include <Sluift/GenericLuaElementConvertor.h> -#include <Swiften/Elements/UserTune.h> namespace Swift { class LuaElementConvertors; class UserTuneConvertor : public GenericLuaElementConvertor<UserTune> { public: - UserTuneConvertor(LuaElementConvertors* convertors); + UserTuneConvertor(); virtual ~UserTuneConvertor(); virtual boost::shared_ptr<UserTune> doConvertFromLua(lua_State*) SWIFTEN_OVERRIDE; virtual void doConvertToLua(lua_State*, boost::shared_ptr<UserTune>) SWIFTEN_OVERRIDE; virtual boost::optional<Documentation> getDocumentation() const SWIFTEN_OVERRIDE; - - private: - LuaElementConvertors* convertors; }; } |