diff options
Diffstat (limited to 'boost/python/make_constructor.hpp')
-rw-r--r-- | boost/python/make_constructor.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/python/make_constructor.hpp b/boost/python/make_constructor.hpp index 92a7951d35..053d050cd6 100644 --- a/boost/python/make_constructor.hpp +++ b/boost/python/make_constructor.hpp @@ -43,19 +43,19 @@ namespace detail private: template <class U> - void dispatch(U* x, mpl::true_) const + void dispatch(U* x, detail::true_) const { #if __cplusplus < 201103L std::auto_ptr<U> owner(x); - dispatch(owner, mpl::false_()); + dispatch(owner, detail::false_()); #else std::unique_ptr<U> owner(x); - dispatch(std::move(owner), mpl::false_()); + dispatch(std::move(owner), detail::false_()); #endif } template <class Ptr> - void dispatch(Ptr x, mpl::false_) const + void dispatch(Ptr x, detail::false_) const { typedef typename pointee<Ptr>::type value_type; typedef objects::pointer_holder<Ptr,value_type> holder; |