]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
json_sprit: fix the FTBFS on old gcc 4614/head
authorKefu Chai <kchai@redhat.com>
Fri, 8 May 2015 04:01:16 +0000 (12:01 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 8 May 2015 04:01:19 +0000 (12:01 +0800)
Fixes: #11574
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/json_spirit/json_spirit_reader_template.h

index 2eaf743efae4c15d53de4620a66d0f33907dc463..c50f885ec0de90f9810d0675d6dd3e7b80006ee1 100644 (file)
@@ -79,7 +79,7 @@ namespace json_spirit
     template<>\r
     std::string unicode_str_to_utf8( std::string::const_iterator & begin )\r
     {\r
-        typedef typename std::string::value_type Char_type;\r
+        typedef std::string::value_type Char_type;\r
 \r
         const Char_type c1( *( ++begin ) );\r
         const Char_type c2( *( ++begin ) );\r