Fix for gcc

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@149 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2010-04-28 13:41:29 +00:00
parent d3f7934e2d
commit 352520cde8

View file

@ -52,7 +52,7 @@ namespace protect
template< typename T > template< typename T >
std::string serialize( const T& t, std::string serialize( const T& t,
BOOST_DEDUCED_TYPENAME boost::enable_if< BOOST_DEDUCED_TYPENAME boost::enable_if<
BOOST_DEDUCED_TYPENAME is_serializable< T > >::type* = 0 ) BOOST_DEDUCED_TYPENAME protect::is_serializable< T > >::type* = 0 )
{ {
std::stringstream s; std::stringstream s;
static_cast< std::ostream& >( s ) << std::boolalpha << t; static_cast< std::ostream& >( s ) << std::boolalpha << t;
@ -61,7 +61,7 @@ namespace protect
template< typename T > template< typename T >
std::string serialize( const T&, std::string serialize( const T&,
BOOST_DEDUCED_TYPENAME boost::disable_if< BOOST_DEDUCED_TYPENAME boost::disable_if<
BOOST_DEDUCED_TYPENAME is_serializable< T > >::type* = 0 ) BOOST_DEDUCED_TYPENAME protect::is_serializable< T > >::type* = 0 )
{ {
return "?"; return "?";
} }