Fix explicit instantiation regression

This commit is contained in:
Peter Dimov
2014-11-12 19:04:29 +02:00
parent aedcf3ccda
commit f65c57d9d2
4 changed files with 31 additions and 2 deletions
+1 -1
View File
@@ -655,7 +655,7 @@ public:
BOOST_ASSERT( px != 0 );
BOOST_ASSERT( i >= 0 && ( i < boost::detail::sp_extent< T >::value || boost::detail::sp_extent< T >::value == 0 ) );
return px[ i ];
return static_cast< typename boost::detail::sp_array_access< T >::type >( px[ i ] );
}
element_type * get() const BOOST_NOEXCEPT