diff options
Diffstat (limited to 'boost/type_traits/is_virtual_base_of.hpp')
-rw-r--r-- | boost/type_traits/is_virtual_base_of.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/type_traits/is_virtual_base_of.hpp b/boost/type_traits/is_virtual_base_of.hpp index 60ffbc86de..fe2cdcfcc0 100644 --- a/boost/type_traits/is_virtual_base_of.hpp +++ b/boost/type_traits/is_virtual_base_of.hpp @@ -44,7 +44,7 @@ namespace boost { // They can also fall back to the behaviour of reinterpret_cast, which allows is_virtual_base_of to work on non-class types too. // Note that because we are casting pointers there can be no user-defined operators to interfere. template<class T, class U, - boost::void_t<decltype((U*)(std::declval<T*>()))>* = + typename boost::make_void<decltype((U*)(std::declval<T*>()))>::type* = nullptr> constexpr bool is_virtual_base_impl(int) { return false; } |