[Lemon-commits] [lemon_svn] deba: r1701 - hugo/trunk/src/lemon

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


Author: deba
Date: Tue Mar 29 15:30:29 2005
New Revision: 1701

Modified:
   hugo/trunk/src/lemon/array_map.h
   hugo/trunk/src/lemon/map_iterator.h

Log:
Some bug fix


Modified: hugo/trunk/src/lemon/array_map.h
==============================================================================
--- hugo/trunk/src/lemon/array_map.h	(original)
+++ hugo/trunk/src/lemon/array_map.h	Tue Mar 29 15:30:29 2005
@@ -229,6 +229,10 @@
       }
     }
 
+    const Graph* getGraph() {
+      return graph;
+    }
+
 //     /// The stl compatible pair iterator of the map.
 //     typedef MapIterator<ArrayMap> Iterator;
 //     /// The stl compatible const pair iterator of the map.

Modified: hugo/trunk/src/lemon/map_iterator.h
==============================================================================
--- hugo/trunk/src/lemon/map_iterator.h	(original)
+++ hugo/trunk/src/lemon/map_iterator.h	Tue Mar 29 15:30:29 2005
@@ -622,7 +622,7 @@
 
     /// The map initialized const value set.
     MapValueSet(const Graph& _graph, Map& _map) 
-      : graph(&_graph), map(&_map) {}
+      : map(&_map), graph(&_graph) {}
 
     /// The const iterator of the set.
     typedef MapValueIterator<_Graph, _Item, _Map> Iterator;



More information about the Lemon-commits mailing list