diff --git a/include/boost/core/detail/string_view.hpp b/include/boost/core/detail/string_view.hpp index 8f9ab35..92f1313 100644 --- a/include/boost/core/detail/string_view.hpp +++ b/include/boost/core/detail/string_view.hpp @@ -378,7 +378,7 @@ public: } template BOOST_CXX14_CONSTEXPR basic_string_view( Ch const* first, End last, - typename boost::enable_if >::type* = 0 ) BOOST_NOEXCEPT: p_( first ), n_( static_cast( last - first ) ) + typename boost::enable_if, int >::type = 0 ) BOOST_NOEXCEPT: p_( first ), n_( static_cast( last - first ) ) { BOOST_ASSERT( last - first >= 0 ); } @@ -396,7 +396,7 @@ public: #endif template basic_string_view( boost::basic_string_view > const& str, - typename boost::enable_if >::type* = 0 ) BOOST_NOEXCEPT: p_( str.data() ), n_( str.size() ) + typename boost::enable_if, int >::type = 0 ) BOOST_NOEXCEPT: p_( str.data() ), n_( str.size() ) { }