diff --git a/include/ktl/allocators/freelist.h b/include/ktl/allocators/freelist.h index e445a79..01d1be6 100644 --- a/include/ktl/allocators/freelist.h +++ b/include/ktl/allocators/freelist.h @@ -57,7 +57,7 @@ namespace ktl freelist(const freelist&) = delete; freelist(freelist&& other) - noexcept(std::is_nothrow_move_constructible) : + noexcept(std::is_nothrow_move_constructible_v) : m_Alloc(std::move(other.m_Alloc)), m_Free(other.m_Free) { @@ -75,7 +75,7 @@ namespace ktl freelist& operator=(const freelist&) = delete; freelist& operator=(freelist&& rhs) - noexcept(std::is_nothrow_move_constructible_v) + noexcept(std::is_nothrow_move_assignable_v) { release();