gcc 3.4 compatibility fixes
authorladanyi
Thu, 09 Jun 2005 21:49:48 +0000
changeset 1467638124c0ef08
parent 1466 65f8b0ee6306
child 1468 d0ccb2fdeeff
gcc 3.4 compatibility fixes
lemon/graph_utils.h
     1.1 --- a/lemon/graph_utils.h	Thu Jun 09 16:26:52 2005 +0000
     1.2 +++ b/lemon/graph_utils.h	Thu Jun 09 21:49:48 2005 +0000
     1.3 @@ -878,7 +878,7 @@
     1.4      ///
     1.5      /// Constructor for creating in-degree map.
     1.6      InDegMap(const _Graph& _graph) :
     1.7 -      _Graph::NodeMap<int>(_graph,0),
     1.8 +      _Graph::template NodeMap<int>(_graph,0),
     1.9        graph(_graph)
    1.10      {
    1.11        AlterationNotifier<typename _Graph::Edge>
    1.12 @@ -944,7 +944,7 @@
    1.13      ///
    1.14      /// Constructor for creating out-degree map.
    1.15      OutDegMap(const _Graph& _graph) :
    1.16 -      _Graph::NodeMap<int>(_graph,0),
    1.17 +      _Graph::template NodeMap<int>(_graph,0),
    1.18        graph(_graph)
    1.19      {
    1.20        AlterationNotifier<typename _Graph::Edge>