COIN-OR::LEMON - Graph Library

Changeset 1852:ffa7c6e96330 in lemon-0.x for lemon/lemon_writer.h


Ignore:
Timestamp:
12/07/05 12:57:30 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2420
Message:

Some bug fixes and improvments in the io classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lemon_writer.h

    r1845 r1852  
    173173      virtual ~MapWriterBase() {}
    174174
    175       virtual void write(std::ostream& os, const Item& item) = 0;
     175      virtual void write(std::ostream& os, const Item& item) const = 0;
    176176    };
    177177
     
    193193      virtual ~MapWriter() {}
    194194
    195       virtual void write(std::ostream& os, const Item& item) {
     195      virtual void write(std::ostream& os, const Item& item) const {
    196196        Value value = map[item];
    197197        writer.write(os, value);
Note: See TracChangeset for help on using the changeset viewer.