Declare a NoteData template as noexcept
This commit is contained in:
+1
-4
@@ -386,10 +386,7 @@ public:
|
||||
/** @brief Allow a quick way to swap notedata. */
|
||||
namespace std
|
||||
{
|
||||
template<> inline void swap<NoteData>( NoteData &nd1, NoteData &nd2 )
|
||||
#if !defined(_MSC_VER)
|
||||
noexcept(is_nothrow_move_constructible<NoteData>::value && is_nothrow_move_assignable<NoteData>::value)
|
||||
#endif
|
||||
template<> inline void swap<NoteData>( NoteData &nd1, NoteData &nd2 ) noexcept
|
||||
{
|
||||
nd1.swap( nd2 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user