Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58295 - trunk/libs/graph_parallel/test
From: jewillco_at_[hidden]
Date: 2009-12-11 14:08:10


Author: jewillco
Date: 2009-12-11 14:08:10 EST (Fri, 11 Dec 2009)
New Revision: 58295
URL: http://svn.boost.org/trac/boost/changeset/58295

Log:
Fixed GCC 4.4 warnings
Text files modified:
   trunk/libs/graph_parallel/test/adjlist_remove_test.cpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/libs/graph_parallel/test/adjlist_remove_test.cpp
==============================================================================
--- trunk/libs/graph_parallel/test/adjlist_remove_test.cpp (original)
+++ trunk/libs/graph_parallel/test/adjlist_remove_test.cpp 2009-12-11 14:08:10 EST (Fri, 11 Dec 2009)
@@ -52,14 +52,14 @@
   Vertex w = *vi++;
   BOOST_CHECK(vi == vertices(g).second);
   
- BOOST_CHECK(process_id(g.process_group()) == 0 && out_degree(u, g) == 1
- || process_id(g.process_group()) == 1 && in_degree(u, g) == 1);
+ BOOST_CHECK((process_id(g.process_group()) == 0 && out_degree(u, g) == 1)
+ || (process_id(g.process_group()) == 1 && in_degree(u, g) == 1));
   
- BOOST_CHECK(process_id(g.process_group()) == 0 && out_degree(v, g) == 1
- || process_id(g.process_group()) == 1 && in_degree(v, g) == 1);
+ BOOST_CHECK((process_id(g.process_group()) == 0 && out_degree(v, g) == 1)
+ || (process_id(g.process_group()) == 1 && in_degree(v, g) == 1));
 
- BOOST_CHECK(process_id(g.process_group()) == 0 && out_degree(w, g) == 1
- || process_id(g.process_group()) == 1 && in_degree(w, g) == 1);
+ BOOST_CHECK((process_id(g.process_group()) == 0 && out_degree(w, g) == 1)
+ || (process_id(g.process_group()) == 1 && in_degree(w, g) == 1));
 
   // Remove edges
   if (process_id(g.process_group()) == 0) {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk