From 1da99068cc858385f3e52b046756d8621c45b0a2 Mon Sep 17 00:00:00 2001 From: Roger Planas <roger.planas@isode.com> Date: Tue, 13 May 2014 15:11:58 +0100 Subject: Sluift: Fix conversor build errors for older compilers Change-Id: Ia3c0195ffc5d93a1d3189fe811929459ee2d06a7 diff --git a/Sluift/ElementConvertors/IQConvertor.cpp b/Sluift/ElementConvertors/IQConvertor.cpp index d90c864..e535e60 100644 --- a/Sluift/ElementConvertors/IQConvertor.cpp +++ b/Sluift/ElementConvertors/IQConvertor.cpp @@ -14,7 +14,7 @@ using namespace Swift; IQConvertor::IQConvertor(LuaElementConvertors* convertors) : - StanzaConvertor("iq"), + StanzaConvertor<IQ>("iq"), convertors(convertors) { } diff --git a/Sluift/ElementConvertors/MessageConvertor.cpp b/Sluift/ElementConvertors/MessageConvertor.cpp index 0bc7fbb..690ef88 100644 --- a/Sluift/ElementConvertors/MessageConvertor.cpp +++ b/Sluift/ElementConvertors/MessageConvertor.cpp @@ -14,7 +14,7 @@ using namespace Swift; MessageConvertor::MessageConvertor(LuaElementConvertors* convertors) : - StanzaConvertor("message"), + StanzaConvertor<Message>("message"), convertors(convertors) { } diff --git a/Sluift/ElementConvertors/PresenceConvertor.cpp b/Sluift/ElementConvertors/PresenceConvertor.cpp index 3725dd2..823993b 100644 --- a/Sluift/ElementConvertors/PresenceConvertor.cpp +++ b/Sluift/ElementConvertors/PresenceConvertor.cpp @@ -14,7 +14,7 @@ using namespace Swift; PresenceConvertor::PresenceConvertor(LuaElementConvertors* convertors) : - StanzaConvertor("presence"), + StanzaConvertor<Presence>("presence"), convertors(convertors) { } -- cgit v0.10.2-6-g49f6