COIN-OR::LEMON - Graph Library

Changeset 1375:ebdce4f68ac4 in lemon-0.x


Ignore:
Timestamp:
04/19/05 16:15:01 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1820
Message:

Get rid of all '-Wall -W' warnings.

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/concept/graph_component.h

    r1367 r1375  
    573573      /// Copy constructor.
    574574      ///
    575       GraphIncIterator(GraphIncIterator const&) {}
     575      GraphIncIterator(GraphIncIterator const& gi) :Edge(gi) {}
    576576      /// Sets the iterator to the first edge incoming into or outgoing
    577577      /// from the node.
  • src/lemon/concept/maps.h

    r1367 r1375  
    148148
    149149      ///Returns a reference to the value associated to a key.
    150       Reference operator[](const Key &i) { return tmp; }
     150      Reference operator[](const Key &) { return tmp; }
    151151      ///Returns a const reference to the value associated to a key.
    152       ConstReference operator[](const Key &i) const
     152      ConstReference operator[](const Key &) const
    153153      { return tmp; }
    154154      /// Sets the value associated with a key.
  • src/test/maps_test.cc

    r1076 r1375  
    1313{
    1414public:
    15   B operator()(const A &a) const {return B();}
     15  B operator()(const A &) const {return B();}
    1616};
    1717
    18 int func(A a) {return 3;}
     18int func(A) {return 3;}
    1919
    2020typedef ReadMap<A,double> DoubleMap;
Note: See TracChangeset for help on using the changeset viewer.