Add missing #ifdef to bellman_ford_test.cc (#325)
authorPeter Kovacs <kpeter@inf.elte.hu>
Sat, 07 Oct 2017 00:21:15 +0200 (2017-10-06)
changeset 1162881e4168c65f
parent 1161 7d32a2d6ed59
child 1171 50b7e16a135a
Add missing #ifdef to bellman_ford_test.cc (#325)
test/bellman_ford_test.cc
     1.1 --- a/test/bellman_ford_test.cc	Sat Oct 07 00:19:19 2017 +0200
     1.2 +++ b/test/bellman_ford_test.cc	Sat Oct 07 00:21:15 2017 +0200
     1.3 @@ -100,11 +100,13 @@
     1.4      pp = const_bf_test.path(t);
     1.5      pp = const_bf_test.negativeCycle();
     1.6  
     1.7 +#ifdef LEMON_CXX11
     1.8      for (BF::ActiveIt it(const_bf_test); it != INVALID; ++it) {}
     1.9      for (auto n: const_bf_test.activeNodes()) { ::lemon::ignore_unused_variable_warning(n); }
    1.10      for (Digraph::Node n: const_bf_test.activeNodes()) {
    1.11        ::lemon::ignore_unused_variable_warning(n);
    1.12      }
    1.13 +#endif
    1.14    }
    1.15    {
    1.16      BF::SetPredMap<concepts::ReadWriteMap<Node,Arc> >