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

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


Author: deba
Date: Fri May  5 12:48:58 2006
New Revision: 2729

Modified:
   hugo/trunk/lemon/ugraph_adaptor.h

Log:
Bug fix: Using set instead reference assignment



Modified: hugo/trunk/lemon/ugraph_adaptor.h
==============================================================================
--- hugo/trunk/lemon/ugraph_adaptor.h	(original)
+++ hugo/trunk/lemon/ugraph_adaptor.h	Fri May  5 12:48:58 2006
@@ -961,7 +961,7 @@
 
     Edge addEdge(const Node& source, const Node& target) const {
       Edge edge = graph->addEdge(source, target);
-      (*direction)[edge] = graph->source(edge) == source;
+      direction->set(edge, graph->source(edge) == source);
       return edge; 
     }
 



More information about the Lemon-commits mailing list