COIN-OR::LEMON - Graph Library

Changeset 1855:c72636dcf0bd in lemon-0.x for lemon


Ignore:
Timestamp:
12/07/05 16:43:44 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2423
Message:

Eliminate warnins

Location:
lemon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lemon/counter.h

    r1851 r1855  
    7272 
    7373    _SubNoCounter(P &parent) :_parent(parent) {}
    74     _SubNoCounter(P &parent,std::string title,std::ostream &os=std::cerr)
     74    _SubNoCounter(P &parent,std::string,std::ostream &)
    7575      :_parent(parent) {}
    76     _SubNoCounter(P &parent,const char *title,std::ostream &os=std::cerr)
     76    _SubNoCounter(P &parent,std::string)
     77      :_parent(parent) {}
     78    _SubNoCounter(P &parent,const char *,std::ostream &)
     79      :_parent(parent) {}
     80    _SubNoCounter(P &parent,const char *)
    7781      :_parent(parent) {}
    7882    ~_SubNoCounter() {}
     
    8387    _SubNoCounter &operator+=(int c) { _parent+=c; return *this;}
    8488    _SubNoCounter &operator-=(int c) { _parent-=c; return *this;}
    85     void reset(int c=0) {}
     89    void reset(int) {}
     90    void reset() {}
    8691    operator int() {return 0;}
    8792  };
     
    155160
    156161    NoCounter() {}
    157     NoCounter(std::string title,std::ostream &os=std::cerr) {}
    158     NoCounter(const char *title,std::ostream &os=std::cerr) {}
     162    NoCounter(std::string,std::ostream &) {}
     163    NoCounter(const char *,std::ostream &) {}
     164    NoCounter(std::string) {}
     165    NoCounter(const char *) {}
    159166    NoCounter &operator++() { return *this; }
    160167    int operator++(int) { return 0; }
    161168    NoCounter &operator--() { return *this; }
    162169    int operator--(int) { return 0; }
    163     NoCounter &operator+=(int c) { return *this;}
    164     NoCounter &operator-=(int c) { return *this;}
    165     void reset(int c=0) {}
     170    NoCounter &operator+=(int) { return *this;}
     171    NoCounter &operator-=(int) { return *this;}
     172    void reset(int) {}
     173    void reset() {}
    166174    operator int() {return 0;}
    167175  };
  • lemon/lp_skeleton.cc

    r1843 r1855  
    139139  }
    140140
    141   bool LpSkeleton::_isBasicCol(int i)
     141  bool LpSkeleton::_isBasicCol(int)
    142142  {
    143143    return true;
  • lemon/time_measure.h

    r1851 r1855  
    471471  public:
    472472    ///\e
    473     NoTimeReport(std::string title,std::ostream &os=std::cerr,bool run=true) {}
     473    NoTimeReport(std::string,std::ostream &,bool) {}
     474    ///\e
     475    NoTimeReport(std::string,std::ostream &) {}
     476    ///\e
     477    NoTimeReport(std::string) {}
    474478    ///\e Do nothing.
    475479    ~NoTimeReport() {}
Note: See TracChangeset for help on using the changeset viewer.