Boost logo

Boost-Commit :

From: rwgk_at_[hidden]
Date: 2008-05-14 15:38:09


Author: rwgk
Date: 2008-05-14 15:38:08 EDT (Wed, 14 May 2008)
New Revision: 45359
URL: http://svn.boost.org/trac/boost/changeset/45359

Log:
braces added to resolve g++ 4.3.0 warning
Text files modified:
   trunk/boost/python/with_custodian_and_ward.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/python/with_custodian_and_ward.hpp
==============================================================================
--- trunk/boost/python/with_custodian_and_ward.hpp (original)
+++ trunk/boost/python/with_custodian_and_ward.hpp 2008-05-14 15:38:08 EDT (Wed, 14 May 2008)
@@ -68,8 +68,9 @@
     
         bool result = BasePolicy_::precall(args_);
 
- if (!result)
+ if (!result) {
             Py_DECREF(life_support);
+ }
     
         return result;
     }


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