1
0
forked from 0ad/0ad

Fix glooxwrapper build on gcc 4.2 and warning on clang.

This was SVN commit r14167.
This commit is contained in:
leper 2013-11-14 00:32:28 +00:00
parent 4c395f4bf2
commit 4915116ccc

View File

@ -88,12 +88,14 @@ public:
virtual bool handleIq(const gloox::IQ& iq)
{
return m_Wrapped->handleIq(glooxwrapper::IQ(iq));
glooxwrapper::IQ iqWrapper(iq);
return m_Wrapped->handleIq(iqWrapper);
}
virtual void handleIqID(const gloox::IQ& iq, int context)
{
m_Wrapped->handleIqID(glooxwrapper::IQ(iq), context);
glooxwrapper::IQ iqWrapper(iq);
m_Wrapped->handleIqID(iqWrapper, context);
}
};