Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61193 - trunk/libs/config/test
From: nielsdekker_at_[hidden]
Date: 2010-04-11 03:42:01


Author: niels_dekker
Date: 2010-04-11 03:42:00 EDT (Sun, 11 Apr 2010)
New Revision: 61193
URL: http://svn.boost.org/trac/boost/changeset/61193

Log:
Fixed silly bug of mine in value_initializer(), detected by darwin-4.0.1/g++ warning, "value computed is not used"
 
Text files modified:
   trunk/libs/config/test/boost_no_com_value_init.ipp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/config/test/boost_no_com_value_init.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_com_value_init.ipp (original)
+++ trunk/libs/config/test/boost_no_com_value_init.ipp 2010-04-11 03:42:00 EDT (Sun, 11 Apr 2010)
@@ -426,7 +426,7 @@
         (IS_VALUE_INITIALIZED(m_enum_holder_and_int_array[1]) ? 0 : 1) +
         (IS_VALUE_INITIALIZED(m_private_and_protected_int) ? 0 : 1) +
         (IS_VALUE_INITIALIZED(m_private_and_protected_int_array[0]) ? 0 : 1 ) +
- (IS_VALUE_INITIALIZED(m_private_and_protected_int_array[1]) ? 0 : 1 );
+ (IS_VALUE_INITIALIZED(m_private_and_protected_int_array[1]) ? 0 : 1 ) +
         (IS_VALUE_INITIALIZED(m_user_defined_destructor_holder) ? 0 : 1) +
         (IS_VALUE_INITIALIZED(m_user_defined_destructor_holder_array[0]) ? 0 : 1) +
         (IS_VALUE_INITIALIZED(m_user_defined_destructor_holder_array[1]) ? 0 : 1) +
@@ -458,7 +458,7 @@
     {
       std::cout << "Number of initialization failures on the stack: " << num_failures_on_stack
         << "\nNumber of initialization failures on the heap: " << num_failures_on_heap
- << "\nDetected by boost_no_complete_value_initialization::test() revision 6."
+ << "\nDetected by boost_no_complete_value_initialization::test() revision 7."
         << std::endl;
     }
     return static_cast<int>(num_failures_on_stack + num_failures_on_heap);


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