From 1364b97b881185c8ea231c146679fbce172532b1 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 21 Jun 2001 23:39:30 +0000 Subject: [PATCH] A small Borland fix [SVN r10390] --- include/boost/python/detail/init_function.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/python/detail/init_function.hpp b/include/boost/python/detail/init_function.hpp index f4b24fa6..c0c50272 100644 --- a/include/boost/python/detail/init_function.hpp +++ b/include/boost/python/detail/init_function.hpp @@ -73,7 +73,8 @@ namespace detail { struct parameter_traits { private: - typedef const_ref_selector::value> selector; + enum { is_ref = boost::is_reference::value }; + typedef const_ref_selector selector; public: typedef typename selector::template const_ref::type const_reference; };