COIN-OR::LEMON - Graph Library

Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/smart_graph.h


Ignore:
Timestamp:
03/02/07 19:04:28 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
Message:

Hard Warning checking

  • based on the remark of the ZIB user
  • we do not use -Winline
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r2381 r2386  
    642642    void saveSnapshot(Snapshot &s)
    643643    {
    644       s.g = this;
     644      s.graph = this;
    645645      s.node_num = nodes.size();
    646646      s.edge_num = edges.size();
     
    689689    class Snapshot
    690690    {
    691       SmartUGraph *g;
     691      SmartUGraph *graph;
    692692    protected:
    693693      friend class SmartUGraph;
     
    700700      ///To actually make a snapshot you must call save().
    701701      ///
    702       Snapshot() : g(0) {}
     702      Snapshot() : graph(0) {}
    703703      ///Constructor that immediately makes a snapshot
    704704     
     
    730730      void restore()
    731731      {
    732         g->restoreSnapshot(*this);
     732        graph->restoreSnapshot(*this);
    733733      }
    734734    };
Note: See TracChangeset for help on using the changeset viewer.