lemon/concepts/bpgraph.h
changeset 1262 dd1443e4a34c
parent 1217 7bf489cf624e
child 1270 dceba191c00d
     1.1 --- a/lemon/concepts/bpgraph.h	Wed Aug 07 07:04:58 2013 +0200
     1.2 +++ b/lemon/concepts/bpgraph.h	Wed Aug 07 07:08:38 2013 +0200
     1.3 @@ -523,7 +523,10 @@
     1.4  
     1.5          /// Sets the iterator to the first arc of the given graph.
     1.6          ///
     1.7 -        explicit ArcIt(const BpGraph &g) { ignore_unused_variable_warning(g); }
     1.8 +        explicit ArcIt(const BpGraph &g)
     1.9 +        {
    1.10 +          ::lemon::ignore_unused_variable_warning(g);
    1.11 +        }
    1.12          /// Sets the iterator to the given arc.
    1.13  
    1.14          /// Sets the iterator to the given arc of the given graph.
    1.15 @@ -569,8 +572,8 @@
    1.16          /// Sets the iterator to the first outgoing arc of the given node.
    1.17          ///
    1.18          OutArcIt(const BpGraph& n, const Node& g) {
    1.19 -          ignore_unused_variable_warning(n);
    1.20 -          ignore_unused_variable_warning(g);
    1.21 +          ::lemon::ignore_unused_variable_warning(n);
    1.22 +          ::lemon::ignore_unused_variable_warning(g);
    1.23          }
    1.24          /// Sets the iterator to the given arc.
    1.25  
    1.26 @@ -617,8 +620,8 @@
    1.27          /// Sets the iterator to the first incoming arc of the given node.
    1.28          ///
    1.29          InArcIt(const BpGraph& g, const Node& n) {
    1.30 -          ignore_unused_variable_warning(n);
    1.31 -          ignore_unused_variable_warning(g);
    1.32 +          ::lemon::ignore_unused_variable_warning(n);
    1.33 +          ::lemon::ignore_unused_variable_warning(g);
    1.34          }
    1.35          /// Sets the iterator to the given arc.
    1.36