Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-06-04 07:43:11


Hello,

attached patch eliminates the following GCC warning, when including
test_tools.hpp:

warning: 'boost::test_tools::<unnamed>::dummy_cond' defined but not used

OK to commit?

Regards,
Markus

Index: test_tools.hpp
===================================================================
--- test_tools.hpp (revision 46035)
+++ test_tools.hpp (working copy)
@@ -299,7 +299,7 @@
 
 typedef unit_test::const_string const_string;
 
-namespace { bool dummy_cond = false; }
+namespace { bool const dummy_cond = false; }
 
 namespace tt_detail {
 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk