Skip to content
Snippets Groups Projects
Commit 387daa1c authored by g0dil's avatar g0dil
Browse files

Fix g++-4 warnings

parent dad6a3a5
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
//#include "INetAddressing.ih"
// Custom includes
#include <strstream>
#include <sstream>
#include <string.h>
#include <sys/socket.h>
#include <boost/lexical_cast.hpp>
......
......@@ -36,7 +36,7 @@ template < BOOST_PP_SEQ_FOR_EACH_I( SP_TemplateArgs, , SATLIB_SOCKET_POLICIES )
prefix_ void satcom::lib::SocketPolicy< BOOST_PP_SEQ_FOR_EACH_I( SP_TemplateParams, , SATLIB_SOCKET_POLICIES ) >::
checkBaseOf(SocketPolicyBase const & other)
{
# define SP_CheckPolicy(x1,x2,SomePolicy) dynamic_cast<SomePolicy const &>(other.BOOST_PP_CAT(the,SomePolicy)());
# define SP_CheckPolicy(x1,x2,SomePolicy) (void) dynamic_cast<SomePolicy const &>(other.BOOST_PP_CAT(the,SomePolicy)());
BOOST_PP_SEQ_FOR_EACH( SP_CheckPolicy, , SATLIB_SOCKET_POLICIES )
# undef SP_CheckPolicy
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment