File 0037-json_sprit-fix-the-FTBFS-on-old-gcc.patch of Package ceph.627

From: Kefu Chai <kchai@redhat.com>
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 <kchai@redhat.com>
(cherry picked from commit 6b68b27146852f057a3373cd04b08cd6917f3eea)
---
 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 2eaf743..c50f885 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 ) );
openSUSE Build Service is sponsored by