lemon/graph_utils.h
changeset 1467 638124c0ef08
parent 1459 2ee881cf30a8
child 1470 9b6f8c3587f0
     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>