diff --git a/include/boost/python/object/select_holder.hpp b/include/boost/python/object/select_holder.hpp index 2b4b8fbe..45d8cb31 100644 --- a/include/boost/python/object/select_holder.hpp +++ b/include/boost/python/object/select_holder.hpp @@ -15,6 +15,7 @@ # include # include # include +# include # include # include # include @@ -28,21 +29,6 @@ namespace detail { // A helpful compile-time assertion which gives a reasonable error // message if T can't be default-constructed. - template - class assert_default_constructible - { - static int specify_init_arguments_or_no_init_for_class_(T const&); - public: - assert_default_constructible() - { - force_instantiate( - sizeof( - specify_init_arguments_or_no_init_for_class_(T()) - )); - - } - }; - template static int specify_init_arguments_or_no_init_for_class_(T const&);