From 0323f31b2bd4f5fc1231896d45af11e50e006016 Mon Sep 17 00:00:00 2001 From: zhangyi Date: Tue, 17 Mar 2020 21:15:53 +0800 Subject: [PATCH] fix compiling error of vs2015 --- test/test_circ.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_circ.cpp b/test/test_circ.cpp index 78e8c62..cff69a6 100755 --- a/test/test_circ.cpp +++ b/test/test_circ.cpp @@ -140,8 +140,8 @@ struct test_cq> { return cc_id_; } - constexpr ca_t * elems() noexcept { return ca_; } - constexpr ca_t const * elems() const noexcept { return ca_; } + ca_t * elems() noexcept { return ca_; } + ca_t const * elems() const noexcept { return ca_; } void wait_start(int M) { while (ca_->conn_count() != static_cast(M)) {