diff -r 456fa5bc3256 -r 819ca5b50de0 lemon/list_graph.h --- a/lemon/list_graph.h Sun Aug 23 11:13:21 2009 +0200 +++ b/lemon/list_graph.h Tue Sep 29 10:21:51 2009 +0200 @@ -751,6 +751,9 @@ /// /// This function undos the changes until the last snapshot /// created by save() or Snapshot(ListDigraph&). + /// + /// \warning This method invalidates the snapshot, i.e. repeated + /// restoring is not supported unless you call save() again. void restore() { detach(); for(std::list::iterator it = added_arcs.begin(); @@ -1550,6 +1553,9 @@ /// /// This function undos the changes until the last snapshot /// created by save() or Snapshot(ListGraph&). + /// + /// \warning This method invalidates the snapshot, i.e. repeated + /// restoring is not supported unless you call save() again. void restore() { detach(); for(std::list::iterator it = added_edges.begin();