changed cast

[SVN r30592]
This commit is contained in:
Thorsten Jørgen Ottosen
2005-08-16 15:56:23 +00:00
parent e82a7fab5d
commit cd6a5e6a7f

View File

@ -54,7 +54,7 @@ namespace boost
template< class Char > template< class Char >
inline Char* str_end( Char* s ) inline Char* str_end( Char* s )
{ {
return (Char*)str_end( s, s ); return const_cast<Char*>( str_end( s, s ) );
} }
template< class T, std::size_t sz > template< class T, std::size_t sz >