mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 05:42:30 +00:00
Merged fix from HEAD for Tru64/CXX compilation error.
[SVN r33455]
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
|
||||
#include <boost/python/cast.hpp>
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
|
||||
struct X { long x; };
|
||||
struct Y : X, PyObject {};
|
||||
@@ -16,4 +17,3 @@ int main()
|
||||
BOOST_TEST(&boost::python::upcast<PyObject>(&y)->ob_refcnt == &y.ob_refcnt);
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user