Changeset 1083:3e711ee55d31 in lemon-main
- Timestamp:
- 08/07/13 06:29:34 (11 years ago)
- Branch:
- default
- Children:
- 1084:8b2d4e5d96e4, 1089:552e3d1242c6
- Phase:
- public
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/concept_check.h
r997 r1083 59 59 #if !defined(NDEBUG) 60 60 void (Concept::*x)() = & Concept::constraints; 61 ignore_unused_variable_warning(x);61 ::lemon::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 ignore_unused_variable_warning(x);71 ::lemon::ignore_unused_variable_warning(x); 72 72 #endif 73 73 } -
lemon/concepts/digraph.h
r580 r1083 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) { ignore_unused_variable_warning(g); }327 ArcIt(const Digraph& g) { ::lemon::ignore_unused_variable_warning(g); } 328 328 /// Arc -> ArcIt conversion 329 329 -
lemon/concepts/graph.h
r657 r1083 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) { ignore_unused_variable_warning(g); }385 ArcIt(const Graph &g) { ::lemon::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 ignore_unused_variable_warning(n);435 ignore_unused_variable_warning(g);434 ::lemon::ignore_unused_variable_warning(n); 435 ::lemon::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 ignore_unused_variable_warning(n);487 ignore_unused_variable_warning(g);486 ::lemon::ignore_unused_variable_warning(n); 487 ::lemon::ignore_unused_variable_warning(g); 488 488 } 489 489 /// Arc -> InArcIt conversion -
lemon/concepts/graph_components.h
r1007 r1083 109 109 110 110 bool b; 111 ignore_unused_variable_warning(b);111 ::lemon::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 ignore_unused_variable_warning(d);292 ::lemon::ignore_unused_variable_warning(d); 293 293 } 294 294 } … … 369 369 370 370 nid = digraph.maxNodeId(); 371 ignore_unused_variable_warning(nid);371 ::lemon::ignore_unused_variable_warning(nid); 372 372 eid = digraph.maxArcId(); 373 ignore_unused_variable_warning(eid);373 ::lemon::ignore_unused_variable_warning(eid); 374 374 } 375 375 … … 424 424 edge = graph.edgeFromId(ueid); 425 425 ueid = graph.maxEdgeId(); 426 ignore_unused_variable_warning(ueid);426 ::lemon::ignore_unused_variable_warning(ueid); 427 427 } 428 428 … … 497 497 _GraphItemIt it3 = it1; 498 498 _GraphItemIt it4 = INVALID; 499 ignore_unused_variable_warning(it3);500 ignore_unused_variable_warning(it4);499 ::lemon::ignore_unused_variable_warning(it3); 500 ::lemon::ignore_unused_variable_warning(it4); 501 501 502 502 it2 = ++it1; … … 588 588 _GraphIncIt it3 = it1; 589 589 _GraphIncIt it4 = INVALID; 590 ignore_unused_variable_warning(it3);591 ignore_unused_variable_warning(it4);590 ::lemon::ignore_unused_variable_warning(it3); 591 ::lemon::ignore_unused_variable_warning(it4); 592 592 593 593 it2 = ++it1; … … 771 771 n = digraph.baseNode(oait); 772 772 n = digraph.runningNode(oait); 773 ignore_unused_variable_warning(n);773 ::lemon::ignore_unused_variable_warning(n); 774 774 } 775 775 } … … 954 954 = digraph.notifier(typename _Digraph::Arc()); 955 955 956 ignore_unused_variable_warning(nn);957 ignore_unused_variable_warning(en);956 ::lemon::ignore_unused_variable_warning(nn); 957 ::lemon::ignore_unused_variable_warning(en); 958 958 } 959 959 … … 997 997 typename _Graph::EdgeNotifier& uen 998 998 = graph.notifier(typename _Graph::Edge()); 999 ignore_unused_variable_warning(uen);999 ::lemon::ignore_unused_variable_warning(uen); 1000 1000 } 1001 1001 … … 1071 1071 // m3 = cmap; 1072 1072 1073 ignore_unused_variable_warning(m1);1074 ignore_unused_variable_warning(m2);1075 // ignore_unused_variable_warning(m3);1073 ::lemon::ignore_unused_variable_warning(m1); 1074 ::lemon::ignore_unused_variable_warning(m2); 1075 // ::lemon::ignore_unused_variable_warning(m3); 1076 1076 } 1077 1077 -
lemon/concepts/heap.h
r975 r1083 199 199 item=Item(); 200 200 prio=Prio(); 201 ignore_unused_variable_warning(item);202 ignore_unused_variable_warning(prio);201 ::lemon::ignore_unused_variable_warning(item); 202 ::lemon::ignore_unused_variable_warning(prio); 203 203 204 204 OwnItem own_item; … … 207 207 own_item=Item(); 208 208 own_prio=Prio(); 209 ignore_unused_variable_warning(own_item);210 ignore_unused_variable_warning(own_prio);211 ignore_unused_variable_warning(own_state);209 ::lemon::ignore_unused_variable_warning(own_item); 210 ::lemon::ignore_unused_variable_warning(own_prio); 211 ::lemon::ignore_unused_variable_warning(own_state); 212 212 213 213 _Heap heap1(map); 214 214 _Heap heap2 = heap1; 215 ignore_unused_variable_warning(heap1);216 ignore_unused_variable_warning(heap2);215 ::lemon::ignore_unused_variable_warning(heap1); 216 ::lemon::ignore_unused_variable_warning(heap2); 217 217 218 218 int s = heap.size(); 219 ignore_unused_variable_warning(s);219 ::lemon::ignore_unused_variable_warning(s); 220 220 bool e = heap.empty(); 221 ignore_unused_variable_warning(e);221 ::lemon::ignore_unused_variable_warning(e); 222 222 223 223 prio = heap.prio(); -
lemon/concepts/maps.h
r997 r1083 61 61 own_val = m[own_key]; 62 62 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);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); 67 67 } 68 68 const Key& key; … … 101 101 m.set(own_key, own_val); 102 102 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);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); 107 107 } 108 108 const Key& key; -
lemon/concepts/path.h
r975 r1083 67 67 template <typename CPath> 68 68 Path& operator=(const CPath& cpath) { 69 ignore_unused_variable_warning(cpath);69 ::lemon::ignore_unused_variable_warning(cpath); 70 70 return *this; 71 71 } … … 127 127 e = (i < ii); 128 128 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);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); 135 135 } 136 136 }; … … 154 154 e = (i != INVALID); 155 155 156 ignore_unused_variable_warning(l);157 ignore_unused_variable_warning(e);158 ignore_unused_variable_warning(id);159 ignore_unused_variable_warning(ed);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); 160 160 } 161 161 _Path& p; … … 180 180 e = (i != INVALID); 181 181 182 ignore_unused_variable_warning(l);183 ignore_unused_variable_warning(e);184 ignore_unused_variable_warning(id);185 ignore_unused_variable_warning(ed);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); 186 186 } 187 187 _Path& p; -
test/adaptors_test.cc
r997 r1083 66 66 Digraph::Arc a2 = digraph.addArc(n1, n3); 67 67 Digraph::Arc a3 = digraph.addArc(n2, n3); 68 ignore_unused_variable_warning(a3);68 ::lemon::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 ignore_unused_variable_warning(a6,a7,a8);103 ::lemon::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 ignore_unused_variable_warning(a1,a2,a3);763 ::lemon::ignore_unused_variable_warning(a1,a2,a3); 764 764 765 765 checkGraphNodeList(adaptor, 6); -
test/bfs_test.cc
r1007 r1083 62 62 Arc e; 63 63 int l, i; 64 ignore_unused_variable_warning(l,i);64 ::lemon::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 ignore_unused_variable_warning(b);154 ::lemon::ignore_unused_variable_warning(b); 155 155 156 156 bfs(g).run(Node()); -
test/circulation_test.cc
r1007 r1083 74 74 VType v; 75 75 bool b; 76 ignore_unused_variable_warning(v,b);76 ::lemon::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 ignore_unused_variable_warning(fm);102 ::lemon::ignore_unused_variable_warning(fm); 103 103 } 104 104 -
test/connectivity_test.cc
r997 r1083 69 69 Graph g(d); 70 70 Digraph::Node n = d.addNode(); 71 ignore_unused_variable_warning(n);71 ::lemon::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 ignore_unused_variable_warning(watch);249 ::lemon::ignore_unused_variable_warning(watch); 250 250 251 251 d.addArc(socks, shoe); -
test/dfs_test.cc
r1007 r1083 68 68 int l, i; 69 69 bool b; 70 ignore_unused_variable_warning(l,i,b);70 ::lemon::ignore_unused_variable_warning(l,i,b); 71 71 72 72 DType::DistMap d(G); … … 154 154 Digraph g; 155 155 bool b; 156 ignore_unused_variable_warning(b);156 ::lemon::ignore_unused_variable_warning(b); 157 157 158 158 dfs(g).run(Node()); -
test/digraph_test.cc
r997 r1083 61 61 a3 = G.addArc(n2, n3), 62 62 a4 = G.addArc(n2, n3); 63 ignore_unused_variable_warning(a2,a3,a4);63 ::lemon::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 ignore_unused_variable_warning(a1,a2,a3,a4);92 ::lemon::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 ignore_unused_variable_warning(a1,a2,a3,a5);126 ::lemon::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 ignore_unused_variable_warning(a2,a3,a4,a5);206 ::lemon::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 ignore_unused_variable_warning(a1,a2,a3,a4);254 ::lemon::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 ignore_unused_variable_warning(e2);343 ::lemon::ignore_unused_variable_warning(e2); 344 344 345 345 check(g.valid(n1), "Wrong validity check"); -
test/dijkstra_test.cc
r1007 r1083 66 66 int i; 67 67 bool b; 68 ignore_unused_variable_warning(l,i,b);68 ::lemon::ignore_unused_variable_warning(l,i,b); 69 69 70 70 DType::DistMap d(G); … … 165 165 Digraph g; 166 166 bool b; 167 ignore_unused_variable_warning(b);167 ::lemon::ignore_unused_variable_warning(b); 168 168 169 169 dijkstra(g,LengthMap()).run(Node()); -
test/edge_set_test.cc
r997 r1083 45 45 46 46 Digraph::Arc ga1 = digraph.addArc(n1, n2); 47 ignore_unused_variable_warning(ga1);47 ::lemon::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 ignore_unused_variable_warning(ga2);52 ::lemon::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 ignore_unused_variable_warning(a2,a3,a4);80 ::lemon::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 ignore_unused_variable_warning(ga1);117 ::lemon::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 ignore_unused_variable_warning(ga2);122 ::lemon::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 ignore_unused_variable_warning(a2,a3,a4);150 ::lemon::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 ignore_unused_variable_warning(ga1);201 ::lemon::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 ignore_unused_variable_warning(ga2);206 ::lemon::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 ignore_unused_variable_warning(e2,e3,e4);243 ::lemon::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 ignore_unused_variable_warning(ga1);289 ::lemon::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 ignore_unused_variable_warning(ga2);294 ::lemon::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 ignore_unused_variable_warning(e2,e3,e4);331 ::lemon::ignore_unused_variable_warning(e2,e3,e4); 332 332 333 333 checkGraphNodeList(edge_set, 3); -
test/euler_test.cc
r997 r1083 102 102 Graph g(d); 103 103 Digraph::Node n = d.addNode(); 104 ignore_unused_variable_warning(n);104 ::lemon::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 ignore_unused_variable_warning(n0,n4,n5);193 ::lemon::ignore_unused_variable_warning(n0,n4,n5); 194 194 195 195 d.addArc(n1, n2); -
test/gomory_hu_test.cc
r1007 r1083 51 51 Value v; 52 52 int d; 53 ignore_unused_variable_warning(v,d);53 ::lemon::ignore_unused_variable_warning(v,d); 54 54 55 55 GomoryHu<Graph, CapMap> gh_test(g, cap); -
test/graph_test.cc
r997 r1083 64 64 Edge e2 = G.addEdge(n2, n1), 65 65 e3 = G.addEdge(n2, n3); 66 ignore_unused_variable_warning(e2,e3);66 ::lemon::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 ignore_unused_variable_warning(e1,e3,e4,e5);99 ::lemon::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 ignore_unused_variable_warning(e1,e3,e4,e5);179 ::lemon::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 ignore_unused_variable_warning(e1,e2,e3);220 ::lemon::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 ignore_unused_variable_warning(e2);369 ::lemon::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 ignore_unused_variable_warning(n);499 ::lemon::ignore_unused_variable_warning(n); 500 500 501 501 for (NodeIt n(G); n != INVALID; ++n) { -
test/hao_orlin_test.cc
r1007 r1083 67 67 CutMap cut; 68 68 Value v; 69 ignore_unused_variable_warning(v);69 ::lemon::ignore_unused_variable_warning(v); 70 70 71 71 HaoOrlin<Digraph, CapMap> ho_test(g, cap); -
test/maps_test.cc
r997 r1083 79 79 NullMap<A,B> map1; 80 80 NullMap<A,B> map2 = map1; 81 ignore_unused_variable_warning(map2);81 ::lemon::ignore_unused_variable_warning(map2); 82 82 map1 = nullMap<A,B>(); 83 83 } … … 90 90 ConstMap<A,B> map2 = B(); 91 91 ConstMap<A,B> map3 = map1; 92 ignore_unused_variable_warning(map2,map3);92 ::lemon::ignore_unused_variable_warning(map2,map3); 93 93 94 94 map1 = constMap<A>(B()); … … 97 97 ConstMap<A,C> map4(C(1)); 98 98 ConstMap<A,C> map5 = map4; 99 ignore_unused_variable_warning(map5);99 ::lemon::ignore_unused_variable_warning(map5); 100 100 101 101 map4 = constMap<A>(C(2)); … … 119 119 IdentityMap<A> map1; 120 120 IdentityMap<A> map2 = map1; 121 ignore_unused_variable_warning(map2);121 ::lemon::ignore_unused_variable_warning(map2); 122 122 123 123 map1 = identityMap<A>(); … … 180 180 checkConcept<ReadMap<B,double>, CompMap>(); 181 181 CompMap map1 = CompMap(DoubleMap(),ReadMap<B,A>()); 182 ignore_unused_variable_warning(map1);182 ::lemon::ignore_unused_variable_warning(map1); 183 183 CompMap map2 = composeMap(DoubleMap(), ReadMap<B,A>()); 184 ignore_unused_variable_warning(map2);184 ::lemon::ignore_unused_variable_warning(map2); 185 185 186 186 SparseMap<double, bool> m1(false); m1[3.14] = true; … … 195 195 checkConcept<ReadMap<A,double>, CombMap>(); 196 196 CombMap map1 = CombMap(DoubleMap(), DoubleMap()); 197 ignore_unused_variable_warning(map1);197 ::lemon::ignore_unused_variable_warning(map1); 198 198 CombMap map2 = combineMap(DoubleMap(), DoubleMap(), std::plus<double>()); 199 ignore_unused_variable_warning(map2);199 ::lemon::ignore_unused_variable_warning(map2); 200 200 201 201 check(combineMap(constMap<B,int,2>(), identityMap<B>(), &binc)[B()] == 3, … … 209 209 FunctorToMap<F> map1; 210 210 FunctorToMap<F> map2 = FunctorToMap<F>(F()); 211 ignore_unused_variable_warning(map2);211 ::lemon::ignore_unused_variable_warning(map2); 212 212 213 213 B b = functorToMap(F())[A()]; 214 ignore_unused_variable_warning(b);214 ::lemon::ignore_unused_variable_warning(b); 215 215 216 216 checkConcept<ReadMap<A,B>, MapToFunctor<ReadMap<A,B> > >(); 217 217 MapToFunctor<ReadMap<A,B> > map = 218 218 MapToFunctor<ReadMap<A,B> >(ReadMap<A,B>()); 219 ignore_unused_variable_warning(map);219 ::lemon::ignore_unused_variable_warning(map); 220 220 221 221 check(functorToMap(&func)[A()] == 3, … … 235 235 ConvertMap<ReadMap<double, int>, double> >(); 236 236 ConvertMap<RangeMap<bool>, int> map1(rangeMap(1, true)); 237 ignore_unused_variable_warning(map1);237 ::lemon::ignore_unused_variable_warning(map1); 238 238 ConvertMap<RangeMap<bool>, int> map2 = convertMap<int>(rangeMap(2, false)); 239 ignore_unused_variable_warning(map2);239 ::lemon::ignore_unused_variable_warning(map2); 240 240 241 241 } -
test/matching_test.cc
r1007 r1083 146 146 MaxMatching<Graph>::Status stat = 147 147 const_mat_test.status(n); 148 ignore_unused_variable_warning(stat);148 ::lemon::ignore_unused_variable_warning(stat); 149 149 const MaxMatching<Graph>::StatusMap& smap = 150 150 const_mat_test.statusMap(); -
test/min_cost_arborescence_test.cc
r1007 r1083 92 92 VType c; 93 93 bool b; 94 ignore_unused_variable_warning(c,b);94 ::lemon::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 ignore_unused_variable_warning(am);131 ignore_unused_variable_warning(pm);130 ::lemon::ignore_unused_variable_warning(am); 131 ::lemon::ignore_unused_variable_warning(pm); 132 132 } 133 133 -
test/preflow_test.cc
r1007 r1083 87 87 VType v; 88 88 bool b; 89 ignore_unused_variable_warning(v,b);89 ::lemon::ignore_unused_variable_warning(v,b); 90 90 91 91 typedef Preflow<Digraph, CapMap> … … 116 116 const_preflow_test.minCutMap(cut); 117 117 118 ignore_unused_variable_warning(fm);118 ::lemon::ignore_unused_variable_warning(fm); 119 119 } 120 120 -
test/suurballe_test.cc
r1007 r1083 108 108 int f; 109 109 VType c; 110 ignore_unused_variable_warning(f,c);110 ::lemon::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 ignore_unused_variable_warning(fm);123 ignore_unused_variable_warning(pm);122 ::lemon::ignore_unused_variable_warning(fm); 123 ::lemon::ignore_unused_variable_warning(pm); 124 124 } 125 125 -
test/time_measure_test.cc
r997 r1083 36 36 { 37 37 TimeStamp x(T); 38 ignore_unused_variable_warning(x);38 ::lemon::ignore_unused_variable_warning(x); 39 39 } 40 40 }
Note: See TracChangeset
for help on using the changeset viewer.