Add noexcept to the array overload of endian_reverse_inplace

This commit is contained in:
Peter Dimov
2020-05-22 17:41:26 +03:00
parent c489997d37
commit f07be92a32

View File

@ -164,7 +164,7 @@ template<class T> inline
// endian_reverse_inplace for arrays
template<class T, std::size_t N>
inline void endian_reverse_inplace( T (&x)[ N ] )
inline void endian_reverse_inplace( T (&x)[ N ] ) BOOST_NOEXCEPT
{
for( std::size_t i = 0; i < N; ++i )
{