diff -r 096d83158d41 -r 81b47fc5c444 lemon/smart_graph.h --- a/lemon/smart_graph.h Fri Mar 02 17:56:22 2007 +0000 +++ b/lemon/smart_graph.h Fri Mar 02 18:04:28 2007 +0000 @@ -641,7 +641,7 @@ void saveSnapshot(Snapshot &s) { - s.g = this; + s.graph = this; s.node_num = nodes.size(); s.edge_num = edges.size(); } @@ -688,7 +688,7 @@ ///the validity of the snapshot is not stored. class Snapshot { - SmartUGraph *g; + SmartUGraph *graph; protected: friend class SmartUGraph; unsigned int node_num; @@ -699,7 +699,7 @@ ///Default constructor. ///To actually make a snapshot you must call save(). /// - Snapshot() : g(0) {} + Snapshot() : graph(0) {} ///Constructor that immediately makes a snapshot ///This constructor immediately makes a snapshot of the graph. @@ -729,7 +729,7 @@ ///by restore(). void restore() { - g->restoreSnapshot(*this); + graph->restoreSnapshot(*this); } }; };