fix build: can't noexcept this way on msvc 2013.
This commit is contained in:
+1
-2
@@ -382,8 +382,7 @@ public:
|
|||||||
/** @brief Allow a quick way to swap notedata. */
|
/** @brief Allow a quick way to swap notedata. */
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
template<> inline void swap<NoteData>( NoteData &nd1, NoteData &nd2 ) noexcept(is_nothrow_move_constructible<NoteData>::value &&
|
template<> inline void swap<NoteData>( NoteData &nd1, NoteData &nd2 ){ nd1.swap( nd2 ); }
|
||||||
is_nothrow_move_assignable<NoteData>::value) { nd1.swap( nd2 ); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user