]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
json_sprit: fix the FTBFS on old gcc 4687/head
authorKefu Chai <kchai@redhat.com>
Fri, 8 May 2015 04:01:16 +0000 (12:01 +0800)
committerNathan Cutler <ncutler@suse.cz>
Fri, 15 May 2015 10:24:54 +0000 (12:24 +0200)
Fixes: #11574
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 6b68b27146852f057a3373cd04b08cd6917f3eea)

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