suppress warning C4814

This commit is contained in:
木头云 2019-07-04 16:58:02 +08:00 committed by GitHub
parent bd2097e608
commit ab1624c0fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ public:
} }
template <typename A = AllocP> template <typename A = AllocP>
constexpr auto try_replenish(alloc_policy & /*alc*/, std::size_t /*size*/) noexcept constexpr auto try_replenish(alloc_policy & /*alc*/, std::size_t /*size*/) const noexcept
-> ipc::require<!detail::has_take<A>::value || (!has_remain<A>::value && !has_empty<A>::value)> {} -> ipc::require<!detail::has_take<A>::value || (!has_remain<A>::value && !has_empty<A>::value)> {}
void collect(alloc_policy && alc) { void collect(alloc_policy && alc) {