mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
Make Dereferenceable use get_pointer
Re-enable map_indexing_suite iteration for vc6. [SVN r21008]
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
# ifndef POINTER_HOLDER_DWA20011215_HPP
|
||||
# define POINTER_HOLDER_DWA20011215_HPP
|
||||
|
||||
# include <boost/get_pointer.hpp>
|
||||
# include <boost/type.hpp>
|
||||
|
||||
# include <boost/python/instance_holder.hpp>
|
||||
@@ -34,7 +35,7 @@ namespace boost { namespace python { namespace objects {
|
||||
template <class T>
|
||||
bool is_null(T const& p, ...)
|
||||
{
|
||||
return p.get() == 0;
|
||||
return get_pointer(p) == 0;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
|
||||
Reference in New Issue
Block a user