# HG changeset patch
# User Alpar Juttner <alpar@cs.elte.hu>
# Date 1375852118 -7200
# Node ID dd1443e4a34c108c8423309dece90d3d887ca477
# Parent  97f1760dcd13309aca3a963c3b659bf50be794bf
Further ignore_unused_variable_warning() explicit namespaces (#294)

diff -r 97f1760dcd13 -r dd1443e4a34c lemon/concepts/bpgraph.h
--- a/lemon/concepts/bpgraph.h	Wed Aug 07 07:04:58 2013 +0200
+++ b/lemon/concepts/bpgraph.h	Wed Aug 07 07:08:38 2013 +0200
@@ -523,7 +523,10 @@
 
         /// Sets the iterator to the first arc of the given graph.
         ///
-        explicit ArcIt(const BpGraph &g) { ignore_unused_variable_warning(g); }
+        explicit ArcIt(const BpGraph &g)
+        {
+          ::lemon::ignore_unused_variable_warning(g);
+        }
         /// Sets the iterator to the given arc.
 
         /// Sets the iterator to the given arc of the given graph.
@@ -569,8 +572,8 @@
         /// Sets the iterator to the first outgoing arc of the given node.
         ///
         OutArcIt(const BpGraph& n, const Node& g) {
-          ignore_unused_variable_warning(n);
-          ignore_unused_variable_warning(g);
+          ::lemon::ignore_unused_variable_warning(n);
+          ::lemon::ignore_unused_variable_warning(g);
         }
         /// Sets the iterator to the given arc.
 
@@ -617,8 +620,8 @@
         /// Sets the iterator to the first incoming arc of the given node.
         ///
         InArcIt(const BpGraph& g, const Node& n) {
-          ignore_unused_variable_warning(n);
-          ignore_unused_variable_warning(g);
+          ::lemon::ignore_unused_variable_warning(n);
+          ::lemon::ignore_unused_variable_warning(g);
         }
         /// Sets the iterator to the given arc.
 
diff -r 97f1760dcd13 -r dd1443e4a34c lemon/concepts/graph_components.h
--- a/lemon/concepts/graph_components.h	Wed Aug 07 07:04:58 2013 +0200
+++ b/lemon/concepts/graph_components.h	Wed Aug 07 07:08:38 2013 +0200
@@ -456,7 +456,7 @@
             bn = bpgraph.asBlueNodeUnsafe(bnan);
             rn = bpgraph.asRedNode(rnan);
             bn = bpgraph.asBlueNode(bnan);
-            ignore_unused_variable_warning(b);
+            ::lemon::ignore_unused_variable_warning(b);
           }
         }
 
@@ -653,8 +653,8 @@
           int bid = bpgraph.id(blue);
           rid = bpgraph.maxRedId();
           bid = bpgraph.maxBlueId();
-          ignore_unused_variable_warning(rid);
-          ignore_unused_variable_warning(bid);
+          ::lemon::ignore_unused_variable_warning(rid);
+          ::lemon::ignore_unused_variable_warning(bid);
         }
 
         const _BpGraph& bpgraph;
@@ -1387,8 +1387,8 @@
             = bpgraph.notifier(typename _BpGraph::RedNode());
           typename _BpGraph::BlueNodeNotifier& bnn
             = bpgraph.notifier(typename _BpGraph::BlueNode());
-          ignore_unused_variable_warning(rnn);
-          ignore_unused_variable_warning(bnn);
+          ::lemon::ignore_unused_variable_warning(rnn);
+          ::lemon::ignore_unused_variable_warning(bnn);
         }
 
         const _BpGraph& bpgraph;
diff -r 97f1760dcd13 -r dd1443e4a34c test/max_flow_test.cc
--- a/test/max_flow_test.cc	Wed Aug 07 07:04:58 2013 +0200
+++ b/test/max_flow_test.cc	Wed Aug 07 07:08:38 2013 +0200
@@ -121,7 +121,7 @@
       b = const_max_flow.minCut(n);
       const_max_flow.minCutMap(cut);
 
-      ignore_unused_variable_warning(fm);
+      ::lemon::ignore_unused_variable_warning(fm);
     }
 
   };
@@ -156,7 +156,7 @@
   preflow_test.startSecondPhase();
   preflow_test.runMinCut();
 
-  ignore_unused_variable_warning(b);
+  ::lemon::ignore_unused_variable_warning(b);
 }
 
 // Checks the specific parts of EdmondsKarp's interface
@@ -179,7 +179,7 @@
   b = ek_test.augment();
   ek_test.start();
 
-  ignore_unused_variable_warning(b);
+  ::lemon::ignore_unused_variable_warning(b);
 }
 
 
@@ -339,7 +339,7 @@
   }
 
   static void startSecondPhase(MF& mf) {
-    ignore_unused_variable_warning(mf);
+    ::lemon::ignore_unused_variable_warning(mf);
   }
 
 };
diff -r 97f1760dcd13 -r dd1443e4a34c test/nagamochi_ibaraki_test.cc
--- a/test/nagamochi_ibaraki_test.cc	Wed Aug 07 07:04:58 2013 +0200
+++ b/test/nagamochi_ibaraki_test.cc	Wed Aug 07 07:08:38 2013 +0200
@@ -65,7 +65,7 @@
   CutMap cut;
   Value v;
   bool b;
-  ignore_unused_variable_warning(v,b);
+  ::lemon::ignore_unused_variable_warning(v,b);
 
   NagamochiIbaraki<Graph, CapMap> ni_test(g, cap);
   const NagamochiIbaraki<Graph, CapMap>& const_ni_test = ni_test;