From 780fff70c4b92ef9d4adf83bbf034ead64ddc009 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 24 Aug 2002 18:19:35 +0000 Subject: [PATCH] Removed unused bool_type [SVN r15084] --- include/boost/python/extract.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/python/extract.hpp b/include/boost/python/extract.hpp index 18d8c5c2..16efb3bf 100644 --- a/include/boost/python/extract.hpp +++ b/include/boost/python/extract.hpp @@ -108,9 +108,9 @@ struct extract { private: typedef typename converter::select_extract::type base; - typedef bool (extract::*bool_type)() const; public: typedef typename base::result_type result_type; + operator result_type() const { return (*this)();