[glibmm] Fix the build with --enable-warnigns=fatal.



commit c0644d4d4572e31643ee33882a08ac72f4bbd791
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Feb 21 09:37:07 2011 +0100

    Fix the build with --enable-warnigns=fatal.
    
    	* glib/glibmm/arrayhandle.h: Remove some typename keywords to avoid this
    	compiler warning:
    	"error: using â??typenameâ?? outside of template"

 ChangeLog                 |    8 ++++++++
 glib/glibmm/arrayhandle.h |    4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8aa9690..3838a87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-02-21  Murray Cumming  <murrayc murrayc com>
+
+	Fix the build with --enable-warnigns=fatal.
+
+	* glib/glibmm/arrayhandle.h: Remove some typename keywords to avoid this 
+	compiler warning:
+	"error: using â??typenameâ?? outside of template"
+
 2011-02-02  Krzesimir Nowak  <qdlacz gmail com>
 
 	Added bool specialization for Glib::ArrayHandle.
diff --git a/glib/glibmm/arrayhandle.h b/glib/glibmm/arrayhandle.h
index 1d16a20..5f9702a 100644
--- a/glib/glibmm/arrayhandle.h
+++ b/glib/glibmm/arrayhandle.h
@@ -275,8 +275,8 @@ public:
   typedef ArrayHandle<bool, Container_Helpers::TypeTraits<bool> > Me;
   typedef Container_Helpers::TypeTraits<bool>      Tr;
 
-  typedef typename Tr::CppType  CppType;
-  typedef typename Tr::CType    CType;
+  typedef Tr::CppType  CppType;
+  typedef Tr::CType    CType;
 
   typedef CppType               value_type;
   typedef size_t                size_type;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]