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:
parent
2e8a78f4d1
commit
6068f49c33
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue