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/PubSubOwnerSubscriptionConvertor.cpp | |
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/PubSubOwnerSubscriptionConvertor.cpp')
-rw-r--r-- | Sluift/ElementConvertors/PubSubOwnerSubscriptionConvertor.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Sluift/ElementConvertors/PubSubOwnerSubscriptionConvertor.cpp b/Sluift/ElementConvertors/PubSubOwnerSubscriptionConvertor.cpp index 844d669..57d4f3d 100644 --- a/Sluift/ElementConvertors/PubSubOwnerSubscriptionConvertor.cpp +++ b/Sluift/ElementConvertors/PubSubOwnerSubscriptionConvertor.cpp @@ -1,24 +1,19 @@ /* - * Copyright (c) 2013 Isode Limited. + * Copyright (c) 2013-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include <Sluift/ElementConvertors/PubSubOwnerSubscriptionConvertor.h> -#include <lua.hpp> #include <boost/smart_ptr/make_shared.hpp> - - - -#pragma clang diagnostic ignored "-Wunused-private-field" +#include <lua.hpp> using namespace Swift; -PubSubOwnerSubscriptionConvertor::PubSubOwnerSubscriptionConvertor(LuaElementConvertors* convertors) : - GenericLuaElementConvertor<PubSubOwnerSubscription>("pubsub_owner_subscription"), - convertors(convertors) { +PubSubOwnerSubscriptionConvertor::PubSubOwnerSubscriptionConvertor() : + GenericLuaElementConvertor<PubSubOwnerSubscription>("pubsub_owner_subscription") { } PubSubOwnerSubscriptionConvertor::~PubSubOwnerSubscriptionConvertor() { |