mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
Use the same parameter names in the two declarations of boost::swap()
Reason: Fixing an error from MSVC 14.3 about different noexcept specifications between the two declarations.
This commit is contained in:
@@ -1332,10 +1332,10 @@ operator-( const dynamic_bitset< Block, Allocator > & x, const dynamic_bitset< B
|
||||
|
||||
template< typename Block, typename Allocator >
|
||||
void
|
||||
swap( dynamic_bitset< Block, Allocator > & left, dynamic_bitset< Block, Allocator > & right )
|
||||
BOOST_DYNAMIC_BITSET_CPP17_OR_LATER( noexcept( noexcept( left.swap( right ) ) ) )
|
||||
swap( dynamic_bitset< Block, Allocator > & a, dynamic_bitset< Block, Allocator > & b )
|
||||
BOOST_DYNAMIC_BITSET_CPP17_OR_LATER( noexcept( noexcept( a.swap( b ) ) ) )
|
||||
{
|
||||
left.swap( right );
|
||||
a.swap( b );
|
||||
}
|
||||
|
||||
template< typename Block, typename Allocator >
|
||||
|
||||
Reference in New Issue
Block a user