[Lemon-commits] deba: r3134 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Thu Jan 11 22:35:15 CET 2007


Author: deba
Date: Thu Jan 11 22:35:14 2007
New Revision: 3134

Modified:
   hugo/trunk/lemon/list_graph.h
   hugo/trunk/lemon/smart_graph.h

Log:
Bug fix




Modified: hugo/trunk/lemon/list_graph.h
==============================================================================
--- hugo/trunk/lemon/list_graph.h	(original)
+++ hugo/trunk/lemon/list_graph.h	Thu Jan 11 22:35:14 2007
@@ -765,6 +765,7 @@
 
     class UEdge {
       friend class ListUGraphBase;
+      friend class ListUGraphBase::Edge;
     protected:
 
       int id;

Modified: hugo/trunk/lemon/smart_graph.h
==============================================================================
--- hugo/trunk/lemon/smart_graph.h	(original)
+++ hugo/trunk/lemon/smart_graph.h	Thu Jan 11 22:35:14 2007
@@ -387,6 +387,10 @@
   public:
     
     typedef SmartUGraphBase Graph;
+
+    class Node;
+    class Edge;
+    class UEdge;
     
     class Node {
       friend class SmartUGraphBase;
@@ -405,6 +409,7 @@
 
     class UEdge {
       friend class SmartUGraphBase;
+      friend class SmartUGraphBase::Edge;
     protected:
 
       int id;



More information about the Lemon-commits mailing list