json_sprit: fix the FTBFS on old gcc

Fixes: #11574
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2015-05-08 12:01:16 +08:00
parent eb32123508
commit 6b68b27146

View File

@ -79,7 +79,7 @@ namespace json_spirit
template<>
std::string unicode_str_to_utf8( std::string::const_iterator & begin )
{
typedef typename std::string::value_type Char_type;
typedef std::string::value_type Char_type;
const Char_type c1( *( ++begin ) );
const Char_type c2( *( ++begin ) );