BLI: remove static assert noexcept move constructors

The move constructor of `mpq_class` from GMP currently
allocates when it is moved. So, it cannot be noexcept.
Since we want to use this type, this static assert cannot
stay there.
This commit is contained in:
Jacques Lucke 2020-07-14 15:20:44 +02:00
parent 2e8a78f4d1
commit 6068f49c33
1 changed files with 0 additions and 4 deletions

View File

@ -194,10 +194,6 @@ template<typename T> void initialized_move_n(T *src, uint n, T *dst)
*/
template<typename T> void uninitialized_move_n(T *src, uint n, T *dst)
{
static_assert(std::is_nothrow_move_constructible_v<T>,
"Ideally, all types should have this property. We might have to remove this "
"limitation of a real reason comes up.");
uint current = 0;
try {
for (; current < n; current++) {