code review: `std::deque::empty()` is not `constexpr`
This commit is contained in:
parent
39e05a8520
commit
48e7001694
|
@ -39,7 +39,7 @@ public:
|
|||
return size > 0 && size <= std::numeric_limits<int>::max();
|
||||
}
|
||||
|
||||
[[nodiscard]] constexpr auto is_complete() const noexcept
|
||||
[[nodiscard]] auto is_complete() const noexcept
|
||||
{
|
||||
return std::empty(pieces_needed_);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue