Changes in / [808:bdfc038f364c:806:14394c9603c2] in lemon-1.1
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/concept_check.h
r807 r792 59 59 #if !defined(NDEBUG) 60 60 void (Concept::*x)() = & Concept::constraints; 61 ::lemon::ignore_unused_variable_warning(x);61 ignore_unused_variable_warning(x); 62 62 #endif 63 63 } … … 69 69 typedef typename Concept::template Constraints<Type> ConceptCheck; 70 70 void (ConceptCheck::*x)() = & ConceptCheck::constraints; 71 ::lemon::ignore_unused_variable_warning(x);71 ignore_unused_variable_warning(x); 72 72 #endif 73 73 } -
lemon/concepts/digraph.h
r808 r761 325 325 /// This constructor sets the iterator to the first arc of \c g. 326 326 ///@param g the digraph 327 ArcIt(const Digraph& g) { ::lemon::ignore_unused_variable_warning(g); }327 ArcIt(const Digraph& g) { ignore_unused_variable_warning(g); } 328 328 /// Arc -> ArcIt conversion 329 329 -
lemon/concepts/graph.h
r807 r655 383 383 /// This constructor sets the iterator to the first arc of \c g. 384 384 ///@param g the graph 385 ArcIt(const Graph &g) { ::lemon::ignore_unused_variable_warning(g); }385 ArcIt(const Graph &g) { ignore_unused_variable_warning(g); } 386 386 /// Arc -> ArcIt conversion 387 387 … … 432 432 ///@param g the graph 433 433 OutArcIt(const Graph& n, const Node& g) { 434 ::lemon::ignore_unused_variable_warning(n);435 ::lemon::ignore_unused_variable_warning(g);434 ignore_unused_variable_warning(n); 435 ignore_unused_variable_warning(g); 436 436 } 437 437 /// Arc -> OutArcIt conversion … … 484 484 ///@param g the graph 485 485 InArcIt(const Graph& g, const Node& n) { 486 ::lemon::ignore_unused_variable_warning(n);487 ::lemon::ignore_unused_variable_warning(g);486 ignore_unused_variable_warning(n); 487 ignore_unused_variable_warning(g); 488 488 } 489 489 /// Arc -> InArcIt conversion -
lemon/concepts/graph_components.h
r808 r797 109 109 110 110 bool b; 111 ::lemon::ignore_unused_variable_warning(b);111 ignore_unused_variable_warning(b); 112 112 113 113 b = (ia == ib) && (ia != ib); … … 290 290 ue = e; 291 291 bool d = graph.direction(e); 292 ::lemon::ignore_unused_variable_warning(d);292 ignore_unused_variable_warning(d); 293 293 } 294 294 } … … 369 369 370 370 nid = digraph.maxNodeId(); 371 ::lemon::ignore_unused_variable_warning(nid);371 ignore_unused_variable_warning(nid); 372 372 eid = digraph.maxArcId(); 373 ::lemon::ignore_unused_variable_warning(eid);373 ignore_unused_variable_warning(eid); 374 374 } 375 375 … … 424 424 edge = graph.edgeFromId(ueid); 425 425 ueid = graph.maxEdgeId(); 426 ::lemon::ignore_unused_variable_warning(ueid);426 ignore_unused_variable_warning(ueid); 427 427 } 428 428 … … 497 497 _GraphItemIt it3 = it1; 498 498 _GraphItemIt it4 = INVALID; 499 ::lemon::ignore_unused_variable_warning(it3);500 ::lemon::ignore_unused_variable_warning(it4);499 ignore_unused_variable_warning(it3); 500 ignore_unused_variable_warning(it4); 501 501 502 502 it2 = ++it1; … … 588 588 _GraphIncIt it3 = it1; 589 589 _GraphIncIt it4 = INVALID; 590 ::lemon::ignore_unused_variable_warning(it3);591 ::lemon::ignore_unused_variable_warning(it4);590 ignore_unused_variable_warning(it3); 591 ignore_unused_variable_warning(it4); 592 592 593 593 it2 = ++it1; … … 771 771 n = digraph.baseNode(oait); 772 772 n = digraph.runningNode(oait); 773 ::lemon::ignore_unused_variable_warning(n);773 ignore_unused_variable_warning(n); 774 774 } 775 775 } … … 954 954 = digraph.notifier(typename _Digraph::Arc()); 955 955 956 ::lemon::ignore_unused_variable_warning(nn);957 ::lemon::ignore_unused_variable_warning(en);956 ignore_unused_variable_warning(nn); 957 ignore_unused_variable_warning(en); 958 958 } 959 959 … … 997 997 typename _Graph::EdgeNotifier& uen 998 998 = graph.notifier(typename _Graph::Edge()); 999 ::lemon::ignore_unused_variable_warning(uen);999 ignore_unused_variable_warning(uen); 1000 1000 } 1001 1001 … … 1071 1071 // m3 = cmap; 1072 1072 1073 ::lemon::ignore_unused_variable_warning(m1);1074 ::lemon::ignore_unused_variable_warning(m2);1075 // ::lemon::ignore_unused_variable_warning(m3);1073 ignore_unused_variable_warning(m1); 1074 ignore_unused_variable_warning(m2); 1075 // ignore_unused_variable_warning(m3); 1076 1076 } 1077 1077 -
lemon/concepts/heap.h
r807 r783 199 199 item=Item(); 200 200 prio=Prio(); 201 ::lemon::ignore_unused_variable_warning(item);202 ::lemon::ignore_unused_variable_warning(prio);201 ignore_unused_variable_warning(item); 202 ignore_unused_variable_warning(prio); 203 203 204 204 OwnItem own_item; … … 207 207 own_item=Item(); 208 208 own_prio=Prio(); 209 ::lemon::ignore_unused_variable_warning(own_item);210 ::lemon::ignore_unused_variable_warning(own_prio);211 ::lemon::ignore_unused_variable_warning(own_state);209 ignore_unused_variable_warning(own_item); 210 ignore_unused_variable_warning(own_prio); 211 ignore_unused_variable_warning(own_state); 212 212 213 213 _Heap heap1(map); 214 214 _Heap heap2 = heap1; 215 ::lemon::ignore_unused_variable_warning(heap1);216 ::lemon::ignore_unused_variable_warning(heap2);215 ignore_unused_variable_warning(heap1); 216 ignore_unused_variable_warning(heap2); 217 217 218 218 int s = heap.size(); 219 ::lemon::ignore_unused_variable_warning(s);219 ignore_unused_variable_warning(s); 220 220 bool e = heap.empty(); 221 ::lemon::ignore_unused_variable_warning(e);221 ignore_unused_variable_warning(e); 222 222 223 223 prio = heap.prio(); -
lemon/concepts/maps.h
r808 r793 61 61 own_val = m[own_key]; 62 62 63 ::lemon::ignore_unused_variable_warning(key);64 ::lemon::ignore_unused_variable_warning(val);65 ::lemon::ignore_unused_variable_warning(own_key);66 ::lemon::ignore_unused_variable_warning(own_val);63 ignore_unused_variable_warning(key); 64 ignore_unused_variable_warning(val); 65 ignore_unused_variable_warning(own_key); 66 ignore_unused_variable_warning(own_val); 67 67 } 68 68 const Key& key; … … 101 101 m.set(own_key, own_val); 102 102 103 ::lemon::ignore_unused_variable_warning(key);104 ::lemon::ignore_unused_variable_warning(val);105 ::lemon::ignore_unused_variable_warning(own_key);106 ::lemon::ignore_unused_variable_warning(own_val);103 ignore_unused_variable_warning(key); 104 ignore_unused_variable_warning(val); 105 ignore_unused_variable_warning(own_key); 106 ignore_unused_variable_warning(own_val); 107 107 } 108 108 const Key& key; -
lemon/concepts/path.h
r807 r783 67 67 template <typename CPath> 68 68 Path& operator=(const CPath& cpath) { 69 ::lemon::ignore_unused_variable_warning(cpath);69 ignore_unused_variable_warning(cpath); 70 70 return *this; 71 71 } … … 127 127 e = (i < ii); 128 128 129 ::lemon::ignore_unused_variable_warning(l);130 ::lemon::ignore_unused_variable_warning(pp);131 ::lemon::ignore_unused_variable_warning(e);132 ::lemon::ignore_unused_variable_warning(id);133 ::lemon::ignore_unused_variable_warning(ii);134 ::lemon::ignore_unused_variable_warning(ed);129 ignore_unused_variable_warning(l); 130 ignore_unused_variable_warning(pp); 131 ignore_unused_variable_warning(e); 132 ignore_unused_variable_warning(id); 133 ignore_unused_variable_warning(ii); 134 ignore_unused_variable_warning(ed); 135 135 } 136 136 }; … … 154 154 e = (i != INVALID); 155 155 156 ::lemon::ignore_unused_variable_warning(l);157 ::lemon::ignore_unused_variable_warning(e);158 ::lemon::ignore_unused_variable_warning(id);159 ::lemon::ignore_unused_variable_warning(ed);156 ignore_unused_variable_warning(l); 157 ignore_unused_variable_warning(e); 158 ignore_unused_variable_warning(id); 159 ignore_unused_variable_warning(ed); 160 160 } 161 161 _Path& p; … … 180 180 e = (i != INVALID); 181 181 182 ::lemon::ignore_unused_variable_warning(l);183 ::lemon::ignore_unused_variable_warning(e);184 ::lemon::ignore_unused_variable_warning(id);185 ::lemon::ignore_unused_variable_warning(ed);182 ignore_unused_variable_warning(l); 183 ignore_unused_variable_warning(e); 184 ignore_unused_variable_warning(id); 185 ignore_unused_variable_warning(ed); 186 186 } 187 187 _Path& p; -
test/adaptors_test.cc
r808 r793 66 66 Digraph::Arc a2 = digraph.addArc(n1, n3); 67 67 Digraph::Arc a3 = digraph.addArc(n2, n3); 68 ::lemon::ignore_unused_variable_warning(a3);68 ignore_unused_variable_warning(a3); 69 69 70 70 // Check the adaptor … … 101 101 Adaptor::Arc a7 = adaptor.addArc(n1, n4); 102 102 Adaptor::Arc a8 = adaptor.addArc(n1, n2); 103 ::lemon::ignore_unused_variable_warning(a6,a7,a8);103 ignore_unused_variable_warning(a6,a7,a8); 104 104 105 105 adaptor.erase(a1); … … 761 761 Digraph::Arc a2 = digraph.addArc(n1, n3); 762 762 Digraph::Arc a3 = digraph.addArc(n2, n3); 763 ::lemon::ignore_unused_variable_warning(a1,a2,a3);763 ignore_unused_variable_warning(a1,a2,a3); 764 764 765 765 checkGraphNodeList(adaptor, 6); -
test/bfs_test.cc
r808 r797 62 62 Arc e; 63 63 int l, i; 64 ::lemon::ignore_unused_variable_warning(l,i);64 ignore_unused_variable_warning(l,i); 65 65 bool b; 66 66 BType::DistMap d(G); … … 152 152 Digraph g; 153 153 bool b; 154 ::lemon::ignore_unused_variable_warning(b);154 ignore_unused_variable_warning(b); 155 155 156 156 bfs(g).run(Node()); -
test/circulation_test.cc
r808 r797 74 74 VType v; 75 75 bool b; 76 ::lemon::ignore_unused_variable_warning(v,b);76 ignore_unused_variable_warning(v,b); 77 77 78 78 typedef Circulation<Digraph, CapMap, CapMap, SupplyMap> … … 100 100 const_circ_test.barrierMap(bar); 101 101 102 ::lemon::ignore_unused_variable_warning(fm);102 ignore_unused_variable_warning(fm); 103 103 } 104 104 -
test/connectivity_test.cc
r808 r793 69 69 Graph g(d); 70 70 Digraph::Node n = d.addNode(); 71 ::lemon::ignore_unused_variable_warning(n);71 ignore_unused_variable_warning(n); 72 72 73 73 check(stronglyConnected(d), "This digraph is strongly connected"); … … 247 247 Digraph::Node watch = d.addNode(); 248 248 Digraph::Node pants = d.addNode(); 249 ::lemon::ignore_unused_variable_warning(watch);249 ignore_unused_variable_warning(watch); 250 250 251 251 d.addArc(socks, shoe); -
test/dfs_test.cc
r808 r797 68 68 int l, i; 69 69 bool b; 70 ::lemon::ignore_unused_variable_warning(l,i,b);70 ignore_unused_variable_warning(l,i,b); 71 71 72 72 DType::DistMap d(G); … … 154 154 Digraph g; 155 155 bool b; 156 ::lemon::ignore_unused_variable_warning(b);156 ignore_unused_variable_warning(b); 157 157 158 158 dfs(g).run(Node()); -
test/digraph_test.cc
r807 r792 61 61 a3 = G.addArc(n2, n3), 62 62 a4 = G.addArc(n2, n3); 63 ::lemon::ignore_unused_variable_warning(a2,a3,a4);63 ignore_unused_variable_warning(a2,a3,a4); 64 64 65 65 checkGraphNodeList(G, 3); … … 90 90 Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1), 91 91 a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3); 92 ::lemon::ignore_unused_variable_warning(a1,a2,a3,a4);92 ignore_unused_variable_warning(a1,a2,a3,a4); 93 93 94 94 Node n4 = G.split(n2); … … 124 124 a3 = G.addArc(n4, n3), a4 = G.addArc(n4, n3), 125 125 a5 = G.addArc(n2, n4); 126 ::lemon::ignore_unused_variable_warning(a1,a2,a3,a5);126 ignore_unused_variable_warning(a1,a2,a3,a5); 127 127 128 128 checkGraphNodeList(G, 4); … … 204 204 a3 = G.addArc(n4, n3), a4 = G.addArc(n3, n1), 205 205 a5 = G.addArc(n2, n4); 206 ::lemon::ignore_unused_variable_warning(a2,a3,a4,a5);206 ignore_unused_variable_warning(a2,a3,a4,a5); 207 207 208 208 // Check arc deletion … … 252 252 Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1), 253 253 a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3); 254 ::lemon::ignore_unused_variable_warning(a1,a2,a3,a4);254 ignore_unused_variable_warning(a1,a2,a3,a4); 255 255 256 256 typename Digraph::Snapshot snapshot(G); … … 341 341 e1 = g.addArc(n1, n2), 342 342 e2 = g.addArc(n2, n3); 343 ::lemon::ignore_unused_variable_warning(e2);343 ignore_unused_variable_warning(e2); 344 344 345 345 check(g.valid(n1), "Wrong validity check"); -
test/dijkstra_test.cc
r808 r797 66 66 int i; 67 67 bool b; 68 ::lemon::ignore_unused_variable_warning(l,i,b);68 ignore_unused_variable_warning(l,i,b); 69 69 70 70 DType::DistMap d(G); … … 165 165 Digraph g; 166 166 bool b; 167 ::lemon::ignore_unused_variable_warning(b);167 ignore_unused_variable_warning(b); 168 168 169 169 dijkstra(g,LengthMap()).run(Node()); -
test/edge_set_test.cc
r808 r793 45 45 46 46 Digraph::Arc ga1 = digraph.addArc(n1, n2); 47 ::lemon::ignore_unused_variable_warning(ga1);47 ignore_unused_variable_warning(ga1); 48 48 49 49 ArcSet arc_set(digraph); 50 50 51 51 Digraph::Arc ga2 = digraph.addArc(n2, n1); 52 ::lemon::ignore_unused_variable_warning(ga2);52 ignore_unused_variable_warning(ga2); 53 53 54 54 checkGraphNodeList(arc_set, 2); … … 78 78 a3 = arc_set.addArc(n2, n3), 79 79 a4 = arc_set.addArc(n2, n3); 80 ::lemon::ignore_unused_variable_warning(a2,a3,a4);80 ignore_unused_variable_warning(a2,a3,a4); 81 81 82 82 checkGraphNodeList(arc_set, 3); … … 115 115 116 116 Digraph::Arc ga1 = digraph.addArc(n1, n2); 117 ::lemon::ignore_unused_variable_warning(ga1);117 ignore_unused_variable_warning(ga1); 118 118 119 119 ArcSet arc_set(digraph); 120 120 121 121 Digraph::Arc ga2 = digraph.addArc(n2, n1); 122 ::lemon::ignore_unused_variable_warning(ga2);122 ignore_unused_variable_warning(ga2); 123 123 124 124 checkGraphNodeList(arc_set, 2); … … 148 148 a3 = arc_set.addArc(n2, n3), 149 149 a4 = arc_set.addArc(n2, n3); 150 ::lemon::ignore_unused_variable_warning(a2,a3,a4);150 ignore_unused_variable_warning(a2,a3,a4); 151 151 152 152 checkGraphNodeList(arc_set, 3); … … 199 199 200 200 Digraph::Arc ga1 = digraph.addArc(n1, n2); 201 ::lemon::ignore_unused_variable_warning(ga1);201 ignore_unused_variable_warning(ga1); 202 202 203 203 EdgeSet edge_set(digraph); 204 204 205 205 Digraph::Arc ga2 = digraph.addArc(n2, n1); 206 ::lemon::ignore_unused_variable_warning(ga2);206 ignore_unused_variable_warning(ga2); 207 207 208 208 checkGraphNodeList(edge_set, 2); … … 241 241 e3 = edge_set.addEdge(n2, n3), 242 242 e4 = edge_set.addEdge(n2, n3); 243 ::lemon::ignore_unused_variable_warning(e2,e3,e4);243 ignore_unused_variable_warning(e2,e3,e4); 244 244 245 245 checkGraphNodeList(edge_set, 3); … … 287 287 288 288 Digraph::Arc ga1 = digraph.addArc(n1, n2); 289 ::lemon::ignore_unused_variable_warning(ga1);289 ignore_unused_variable_warning(ga1); 290 290 291 291 EdgeSet edge_set(digraph); 292 292 293 293 Digraph::Arc ga2 = digraph.addArc(n2, n1); 294 ::lemon::ignore_unused_variable_warning(ga2);294 ignore_unused_variable_warning(ga2); 295 295 296 296 checkGraphNodeList(edge_set, 2); … … 329 329 e3 = edge_set.addEdge(n2, n3), 330 330 e4 = edge_set.addEdge(n2, n3); 331 ::lemon::ignore_unused_variable_warning(e2,e3,e4);331 ignore_unused_variable_warning(e2,e3,e4); 332 332 333 333 checkGraphNodeList(edge_set, 3); -
test/euler_test.cc
r808 r793 102 102 Graph g(d); 103 103 Digraph::Node n = d.addNode(); 104 ::lemon::ignore_unused_variable_warning(n);104 ignore_unused_variable_warning(n); 105 105 106 106 checkDiEulerIt(d); … … 191 191 Digraph::Node n4 = d.addNode(); 192 192 Digraph::Node n5 = d.addNode(); 193 ::lemon::ignore_unused_variable_warning(n0,n4,n5);193 ignore_unused_variable_warning(n0,n4,n5); 194 194 195 195 d.addArc(n1, n2); -
test/gomory_hu_test.cc
r808 r797 69 69 Value v; 70 70 int d; 71 ::lemon::ignore_unused_variable_warning(v,d);71 ignore_unused_variable_warning(v,d); 72 72 73 73 GomoryHu<Graph, CapMap> gh_test(g, cap); -
test/graph_test.cc
r807 r792 64 64 Edge e2 = G.addEdge(n2, n1), 65 65 e3 = G.addEdge(n2, n3); 66 ::lemon::ignore_unused_variable_warning(e2,e3);66 ignore_unused_variable_warning(e2,e3); 67 67 68 68 checkGraphNodeList(G, 3); … … 97 97 e3 = G.addEdge(n2, n3), e4 = G.addEdge(n1, n4), 98 98 e5 = G.addEdge(n4, n3); 99 ::lemon::ignore_unused_variable_warning(e1,e3,e4,e5);99 ignore_unused_variable_warning(e1,e3,e4,e5); 100 100 101 101 checkGraphNodeList(G, 4); … … 177 177 e3 = G.addEdge(n2, n3), e4 = G.addEdge(n1, n4), 178 178 e5 = G.addEdge(n4, n3); 179 ::lemon::ignore_unused_variable_warning(e1,e3,e4,e5);179 ignore_unused_variable_warning(e1,e3,e4,e5); 180 180 181 181 // Check edge deletion … … 218 218 Edge e1 = G.addEdge(n1, n2), e2 = G.addEdge(n2, n1), 219 219 e3 = G.addEdge(n2, n3); 220 ::lemon::ignore_unused_variable_warning(e1,e2,e3);220 ignore_unused_variable_warning(e1,e2,e3); 221 221 222 222 checkGraphNodeList(G, 3); … … 367 367 e1 = g.addEdge(n1, n2), 368 368 e2 = g.addEdge(n2, n3); 369 ::lemon::ignore_unused_variable_warning(e2);369 ignore_unused_variable_warning(e2); 370 370 371 371 check(g.valid(n1), "Wrong validity check"); … … 497 497 498 498 Node n = G.nodeFromId(dim); 499 ::lemon::ignore_unused_variable_warning(n);499 ignore_unused_variable_warning(n); 500 500 501 501 for (NodeIt n(G); n != INVALID; ++n) { -
test/hao_orlin_test.cc
r808 r797 67 67 CutMap cut; 68 68 Value v; 69 ::lemon::ignore_unused_variable_warning(v);69 ignore_unused_variable_warning(v); 70 70 71 71 HaoOrlin<Digraph, CapMap> ho_test(g, cap); -
test/maps_test.cc
r808 r793 81 81 NullMap<A,B> map1; 82 82 NullMap<A,B> map2 = map1; 83 ::lemon::ignore_unused_variable_warning(map2);83 ignore_unused_variable_warning(map2); 84 84 map1 = nullMap<A,B>(); 85 85 } … … 92 92 ConstMap<A,B> map2 = B(); 93 93 ConstMap<A,B> map3 = map1; 94 ::lemon::ignore_unused_variable_warning(map2,map3);94 ignore_unused_variable_warning(map2,map3); 95 95 96 96 map1 = constMap<A>(B()); … … 99 99 ConstMap<A,C> map4(C(1)); 100 100 ConstMap<A,C> map5 = map4; 101 ::lemon::ignore_unused_variable_warning(map5);101 ignore_unused_variable_warning(map5); 102 102 103 103 map4 = constMap<A>(C(2)); … … 121 121 IdentityMap<A> map1; 122 122 IdentityMap<A> map2 = map1; 123 ::lemon::ignore_unused_variable_warning(map2);123 ignore_unused_variable_warning(map2); 124 124 125 125 map1 = identityMap<A>(); … … 182 182 checkConcept<ReadMap<B,double>, CompMap>(); 183 183 CompMap map1 = CompMap(DoubleMap(),ReadMap<B,A>()); 184 ::lemon::ignore_unused_variable_warning(map1);184 ignore_unused_variable_warning(map1); 185 185 CompMap map2 = composeMap(DoubleMap(), ReadMap<B,A>()); 186 ::lemon::ignore_unused_variable_warning(map2);186 ignore_unused_variable_warning(map2); 187 187 188 188 SparseMap<double, bool> m1(false); m1[3.14] = true; … … 197 197 checkConcept<ReadMap<A,double>, CombMap>(); 198 198 CombMap map1 = CombMap(DoubleMap(), DoubleMap()); 199 ::lemon::ignore_unused_variable_warning(map1);199 ignore_unused_variable_warning(map1); 200 200 CombMap map2 = combineMap(DoubleMap(), DoubleMap(), std::plus<double>()); 201 ::lemon::ignore_unused_variable_warning(map2);201 ignore_unused_variable_warning(map2); 202 202 203 203 check(combineMap(constMap<B,int,2>(), identityMap<B>(), &binc)[B()] == 3, … … 211 211 FunctorToMap<F> map1; 212 212 FunctorToMap<F> map2 = FunctorToMap<F>(F()); 213 ::lemon::ignore_unused_variable_warning(map2);213 ignore_unused_variable_warning(map2); 214 214 215 215 B b = functorToMap(F())[A()]; 216 ::lemon::ignore_unused_variable_warning(b);216 ignore_unused_variable_warning(b); 217 217 218 218 checkConcept<ReadMap<A,B>, MapToFunctor<ReadMap<A,B> > >(); 219 219 MapToFunctor<ReadMap<A,B> > map = 220 220 MapToFunctor<ReadMap<A,B> >(ReadMap<A,B>()); 221 ::lemon::ignore_unused_variable_warning(map);221 ignore_unused_variable_warning(map); 222 222 223 223 check(functorToMap(&func)[A()] == 3, … … 237 237 ConvertMap<ReadMap<double, int>, double> >(); 238 238 ConvertMap<RangeMap<bool>, int> map1(rangeMap(1, true)); 239 ::lemon::ignore_unused_variable_warning(map1);239 ignore_unused_variable_warning(map1); 240 240 ConvertMap<RangeMap<bool>, int> map2 = convertMap<int>(rangeMap(2, false)); 241 ::lemon::ignore_unused_variable_warning(map2);241 ignore_unused_variable_warning(map2); 242 242 243 243 } -
test/matching_test.cc
r808 r797 146 146 MaxMatching<Graph>::Status stat = 147 147 const_mat_test.status(n); 148 ::lemon::ignore_unused_variable_warning(stat);148 ignore_unused_variable_warning(stat); 149 149 const MaxMatching<Graph>::StatusMap& smap = 150 150 const_mat_test.statusMap(); -
test/min_cost_arborescence_test.cc
r808 r797 92 92 VType c; 93 93 bool b; 94 ::lemon::ignore_unused_variable_warning(c,b);94 ignore_unused_variable_warning(c,b); 95 95 int i; 96 96 CostMap cost; … … 128 128 c = const_mcarb_test.dualValue(i); 129 129 130 ::lemon::ignore_unused_variable_warning(am);131 ::lemon::ignore_unused_variable_warning(pm);130 ignore_unused_variable_warning(am); 131 ignore_unused_variable_warning(pm); 132 132 } 133 133 -
test/preflow_test.cc
r808 r797 87 87 VType v; 88 88 bool b; 89 ::lemon::ignore_unused_variable_warning(v,b);89 ignore_unused_variable_warning(v,b); 90 90 91 91 typedef Preflow<Digraph, CapMap> … … 116 116 const_preflow_test.minCutMap(cut); 117 117 118 ::lemon::ignore_unused_variable_warning(fm);118 ignore_unused_variable_warning(fm); 119 119 } 120 120 -
test/suurballe_test.cc
r808 r797 108 108 int f; 109 109 VType c; 110 ::lemon::ignore_unused_variable_warning(f,c);110 ignore_unused_variable_warning(f,c); 111 111 112 112 c = const_suurb_test.totalLength(); … … 120 120 Path<Digraph> p = const_suurb_test.path(k); 121 121 122 ::lemon::ignore_unused_variable_warning(fm);123 ::lemon::ignore_unused_variable_warning(pm);122 ignore_unused_variable_warning(fm); 123 ignore_unused_variable_warning(pm); 124 124 } 125 125 -
test/time_measure_test.cc
r807 r792 36 36 { 37 37 TimeStamp x(T); 38 ::lemon::ignore_unused_variable_warning(x);38 ignore_unused_variable_warning(x); 39 39 } 40 40 }
Note: See TracChangeset
for help on using the changeset viewer.