mirror of
https://github.com/boostorg/endian.git
synced 2025-07-30 12:37:24 +02:00
Add noexcept to the array overload of endian_reverse_inplace
This commit is contained in:
@ -164,7 +164,7 @@ template<class T> inline
|
|||||||
// endian_reverse_inplace for arrays
|
// endian_reverse_inplace for arrays
|
||||||
|
|
||||||
template<class T, std::size_t N>
|
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 )
|
for( std::size_t i = 0; i < N; ++i )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user