From 6b68b27146852f057a3373cd04b08cd6917f3eea Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 8 May 2015 12:01:16 +0800 Subject: [PATCH] json_sprit: fix the FTBFS on old gcc Fixes: #11574 Signed-off-by: Kefu Chai --- src/json_spirit/json_spirit_reader_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json_spirit/json_spirit_reader_template.h b/src/json_spirit/json_spirit_reader_template.h index 2eaf743efae4c..c50f885ec0de9 100644 --- a/src/json_spirit/json_spirit_reader_template.h +++ b/src/json_spirit/json_spirit_reader_template.h @@ -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 ) );