fix compiling error

This commit is contained in:
mutouyun 2019-01-04 22:16:48 +08:00
parent f388a0a360
commit 98c367a380

View File

@ -122,7 +122,7 @@ struct prod_cons<relat::single, relat::multi, trans::broadcast> {
template <std::size_t DataSize> template <std::size_t DataSize>
constexpr static std::size_t elem_param = DataSize; constexpr static std::size_t elem_param = DataSize;
using rc_t = decltype(detail::elem_head::rc_)::value_type; using rc_t = typename decltype(detail::elem_head::rc_)::value_type;
detail::u2_t cursor() const noexcept { detail::u2_t cursor() const noexcept {
return wt_.load(std::memory_order_acquire); return wt_.load(std::memory_order_acquire);