Boost logo

Boost-Commit :

From: nickm_at_[hidden]
Date: 2007-11-08 11:28:45


Author: nikiml
Date: 2007-11-08 11:28:44 EST (Thu, 08 Nov 2007)
New Revision: 40935
URL: http://svn.boost.org/trac/boost/changeset/40935

Log:
changed handle cast to downcast
Text files modified:
   trunk/libs/python/src/numeric.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/python/src/numeric.cpp
==============================================================================
--- trunk/libs/python/src/numeric.cpp (original)
+++ trunk/libs/python/src/numeric.cpp 2007-11-08 11:28:44 EST (Thu, 08 Nov 2007)
@@ -118,7 +118,7 @@
   {
       load(false);
       if(!array_type) return 0;
- return handle<PyTypeObject>(array_type).get();
+ return downcast<PyTypeObject>(array_type.get());
   }
 
 # define BOOST_PYTHON_AS_OBJECT(z, n, _) object(x##n)


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