for better compatibility with gcc-3.4
authormarci
Wed, 10 Nov 2004 12:51:30 +0000
changeset 97512b9993b217c
parent 974 785062a83f8e
child 976 04591f9a4173
for better compatibility with gcc-3.4
src/lemon/list_graph.h
     1.1 --- a/src/lemon/list_graph.h	Wed Nov 10 11:42:00 2004 +0000
     1.2 +++ b/src/lemon/list_graph.h	Wed Nov 10 12:51:30 2004 +0000
     1.3 @@ -65,7 +65,7 @@
     1.4      typedef ListGraphBase Graph;
     1.5      
     1.6      class Node {
     1.7 -      friend class Graph;
     1.8 +      friend class ListGraphBase;
     1.9      protected:
    1.10  
    1.11        int id;
    1.12 @@ -80,7 +80,7 @@
    1.13      };
    1.14  
    1.15      class Edge {
    1.16 -      friend class Graph;
    1.17 +      friend class ListGraphBase;
    1.18      protected:
    1.19  
    1.20        int id;