From 017fa5a3a646add100c1bb2fd30fe51941d7dac5 Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Tue, 5 Feb 2019 09:41:33 +0100 Subject: [PATCH] fix ci --- include/boost/histogram/adaptive_storage.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/histogram/adaptive_storage.hpp b/include/boost/histogram/adaptive_storage.hpp index a14369c3..f7fb8b09 100644 --- a/include/boost/histogram/adaptive_storage.hpp +++ b/include/boost/histogram/adaptive_storage.hpp @@ -174,6 +174,7 @@ public: struct storage_tag {}; using allocator_type = Allocator; using value_type = double; + class reference; // forward declare #ifndef BOOST_HISTOGRAM_DOXYGEN_INVOKED using mp_int = boost::multiprecision::number(tp[idx_]); }); } - protected: + private: template bool op(const reference_t& rhs) const { const auto i = idx_; @@ -463,6 +464,7 @@ private: template friend class reference_t; + friend class reference; Buffer* buffer_; std::size_t idx_;