fix build: can't noexcept this way on msvc 2013.

This commit is contained in:
Colby Klein
2019-03-10 13:11:08 -07:00
parent 3c8ee8675d
commit e860773799
+1 -2
View File
@@ -382,8 +382,7 @@ public:
/** @brief Allow a quick way to swap notedata. */
namespace std
{
template<> inline void swap<NoteData>( NoteData &nd1, NoteData &nd2 ) noexcept(is_nothrow_move_constructible<NoteData>::value &&
is_nothrow_move_assignable<NoteData>::value) { nd1.swap( nd2 ); }
template<> inline void swap<NoteData>( NoteData &nd1, NoteData &nd2 ){ nd1.swap( nd2 ); }
}
#endif