fix compiling error of vs2015

This commit is contained in:
zhangyi 2020-03-17 21:15:53 +08:00
parent 8112a04833
commit 0323f31b2b

View File

@ -140,8 +140,8 @@ struct test_cq<ea_t<D, P>> {
return cc_id_; return cc_id_;
} }
constexpr ca_t * elems() noexcept { return ca_; } ca_t * elems() noexcept { return ca_; }
constexpr ca_t const * elems() const noexcept { return ca_; } ca_t const * elems() const noexcept { return ca_; }
void wait_start(int M) { void wait_start(int M) {
while (ca_->conn_count() != static_cast<std::size_t>(M)) { while (ca_->conn_count() != static_cast<std::size_t>(M)) {