From cd6a5e6a7f0fc865ad866a0b95330d7d6312a91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20J=C3=B8rgen=20Ottosen?= Date: Tue, 16 Aug 2005 15:56:23 +0000 Subject: [PATCH] changed cast [SVN r30592] --- include/boost/range/detail/implementation_help.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/range/detail/implementation_help.hpp b/include/boost/range/detail/implementation_help.hpp index 4db8be4..77cc8cc 100755 --- a/include/boost/range/detail/implementation_help.hpp +++ b/include/boost/range/detail/implementation_help.hpp @@ -54,7 +54,7 @@ namespace boost template< class Char > inline Char* str_end( Char* s ) { - return (Char*)str_end( s, s ); + return const_cast( str_end( s, s ) ); } template< class T, std::size_t sz >