summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-03-15 12:21:59 (GMT)
committerTobias Markmann <tm@ayena.de>2016-03-17 16:48:24 (GMT)
commiteb71745d7767f45d2a6242b71c5d0354a2d42387 (patch)
treed7f3a7f2d56f0a3a42049fbc596210de7848f71c /Sluift/ElementConvertors/PubSubEventAssociateConvertor.cpp
parent6159c580884583bad0e17d4e96ea9ffc7e0be29a (diff)
downloadswift-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/PubSubEventAssociateConvertor.cpp')
-rw-r--r--Sluift/ElementConvertors/PubSubEventAssociateConvertor.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/Sluift/ElementConvertors/PubSubEventAssociateConvertor.cpp b/Sluift/ElementConvertors/PubSubEventAssociateConvertor.cpp
index 623ddc4..fdfec29 100644
--- a/Sluift/ElementConvertors/PubSubEventAssociateConvertor.cpp
+++ b/Sluift/ElementConvertors/PubSubEventAssociateConvertor.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/PubSubEventAssociateConvertor.h>
-#include <lua.hpp>
#include <boost/smart_ptr/make_shared.hpp>
-
-
-
-#pragma clang diagnostic ignored "-Wunused-private-field"
+#include <lua.hpp>
using namespace Swift;
-PubSubEventAssociateConvertor::PubSubEventAssociateConvertor(LuaElementConvertors* convertors) :
- GenericLuaElementConvertor<PubSubEventAssociate>("pubsub_event_associate"),
- convertors(convertors) {
+PubSubEventAssociateConvertor::PubSubEventAssociateConvertor() :
+ GenericLuaElementConvertor<PubSubEventAssociate>("pubsub_event_associate") {
}
PubSubEventAssociateConvertor::~PubSubEventAssociateConvertor() {