COIN-OR::LEMON - Graph Library

Ticket #135: 9c8efad5f587.patch

File 9c8efad5f587.patch, 576 bytes (added by Balazs Dezso, 16 years ago)
  • lemon/lgf_writer.h

    # HG changeset patch
    # User Balazs Dezso <deba@inf.elte.hu>
    # Date 1217320056 -7200
    # Node ID 9c8efad5f587ab80bc4dc76918e4fdbc2adfc905
    # Parent  ad6b8c47bd56c03d587feab33d875a72b2adfd6f
    Fixing constness of Graph in GraphWriter
    
    diff -r ad6b8c47bd56 -r 9c8efad5f587 lemon/lgf_writer.h
    a b  
    934934    std::ostream* _os;
    935935    bool local_os;
    936936
    937     Graph& _graph;
     937    const Graph& _graph;
    938938
    939939    std::string _nodes_caption;
    940940    std::string _edges_caption;