Merge pull request #4614 from ceph/wip-11574-fix-FTBFS

json_sprit: fix the FTBFS on old gcc

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
Gregory Farnum 2015-05-07 21:55:36 -07:00
commit 4a68b737da

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 ) );