[Lemon-commits] [lemon_svn] ladanyi: r1947 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:48:59 CET 2006


Author: ladanyi
Date: Thu Jun  9 23:49:48 2005
New Revision: 1947

Modified:
   hugo/trunk/lemon/graph_utils.h

Log:
gcc 3.4 compatibility fixes

Modified: hugo/trunk/lemon/graph_utils.h
==============================================================================
--- hugo/trunk/lemon/graph_utils.h	(original)
+++ hugo/trunk/lemon/graph_utils.h	Thu Jun  9 23:49:48 2005
@@ -878,7 +878,7 @@
     ///
     /// Constructor for creating in-degree map.
     InDegMap(const _Graph& _graph) :
-      _Graph::NodeMap<int>(_graph,0),
+      _Graph::template NodeMap<int>(_graph,0),
       graph(_graph)
     {
       AlterationNotifier<typename _Graph::Edge>
@@ -944,7 +944,7 @@
     ///
     /// Constructor for creating out-degree map.
     OutDegMap(const _Graph& _graph) :
-      _Graph::NodeMap<int>(_graph,0),
+      _Graph::template NodeMap<int>(_graph,0),
       graph(_graph)
     {
       AlterationNotifier<typename _Graph::Edge>



More information about the Lemon-commits mailing list