Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51550 - trunk/libs/graph/test
From: juergen.hunold_at_[hidden]
Date: 2009-03-03 02:56:37


Author: jhunold
Date: 2009-03-03 02:56:36 EST (Tue, 03 Mar 2009)
New Revision: 51550
URL: http://svn.boost.org/trac/boost/changeset/51550

Log:
Fix: Avoid compiler warning if BOOST_NO_HASH is already defined.

Text files modified:
   trunk/libs/graph/test/subgraph_bundled.cpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/libs/graph/test/subgraph_bundled.cpp
==============================================================================
--- trunk/libs/graph/test/subgraph_bundled.cpp (original)
+++ trunk/libs/graph/test/subgraph_bundled.cpp 2009-03-03 02:56:36 EST (Tue, 03 Mar 2009)
@@ -8,7 +8,9 @@
 
 #include <boost/random/mersenne_twister.hpp>
 
-#define BOOST_NO_HASH
+#if !defined(BOOST_NO_HASH)
+# define BOOST_NO_HASH
+#endif
 
 #include <boost/graph/adjacency_list.hpp>
 #include <boost/graph/subgraph.hpp>


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