|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52133 - sandbox-branches/bhy/py3k/libs/python/src/object
From: divinekid_at_[hidden]
Date: 2009-04-02 12:40:48
Author: bhy
Date: 2009-04-02 12:40:48 EDT (Thu, 02 Apr 2009)
New Revision: 52133
URL: http://svn.boost.org/trac/boost/changeset/52133
Log:
Fix a typo which cause many tests crash.
Text files modified:
sandbox-branches/bhy/py3k/libs/python/src/object/class.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox-branches/bhy/py3k/libs/python/src/object/class.cpp
==============================================================================
--- sandbox-branches/bhy/py3k/libs/python/src/object/class.cpp (original)
+++ sandbox-branches/bhy/py3k/libs/python/src/object/class.cpp 2009-04-02 12:40:48 EDT (Thu, 02 Apr 2009)
@@ -717,7 +717,7 @@
void instance_holder::deallocate(PyObject* self_, void* storage) throw()
{
- assert(Py_TYPE((self_)) == &class_metatype_object);
+ assert(Py_TYPE(Py_TYPE(self_)) == &class_metatype_object);
objects::instance<>* self = (objects::instance<>*)self_;
if (storage != (char*)self + Py_SIZE(self))
{
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