Fix clang is_convertible test failure - we don't need to check for abstract targets as clang does the right thing.

This commit is contained in:
jzmaddock
2014-08-23 13:26:15 +01:00
parent df74811a4c
commit bbcfff0278

View File

@@ -181,8 +181,7 @@
# define BOOST_IS_CLASS(T) __is_class(T)
# endif
# if __has_feature(is_convertible_to)
# include <boost/type_traits/is_abstract.hpp>
# define BOOST_IS_CONVERTIBLE(T,U) (__is_convertible_to(T,U) && !::boost::is_abstract<U>::value)
# define BOOST_IS_CONVERTIBLE(T,U) __is_convertible_to(T,U)
# endif
# if __has_feature(is_enum)
# define BOOST_IS_ENUM(T) __is_enum(T)