Changeset 1375:ebdce4f68ac4 in lemon-0.x
- Timestamp:
- 04/19/05 16:15:01 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1820
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/concept/graph_component.h
r1367 r1375 573 573 /// Copy constructor. 574 574 /// 575 GraphIncIterator(GraphIncIterator const& ) {}575 GraphIncIterator(GraphIncIterator const& gi) :Edge(gi) {} 576 576 /// Sets the iterator to the first edge incoming into or outgoing 577 577 /// from the node. -
src/lemon/concept/maps.h
r1367 r1375 148 148 149 149 ///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; } 151 151 ///Returns a const reference to the value associated to a key. 152 ConstReference operator[](const Key & i) const152 ConstReference operator[](const Key &) const 153 153 { return tmp; } 154 154 /// Sets the value associated with a key. -
src/test/maps_test.cc
r1076 r1375 13 13 { 14 14 public: 15 B operator()(const A & a) const {return B();}15 B operator()(const A &) const {return B();} 16 16 }; 17 17 18 int func(A a) {return 3;}18 int func(A) {return 3;} 19 19 20 20 typedef ReadMap<A,double> DoubleMap;
Note: See TracChangeset
for help on using the changeset viewer.