We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40fef24 commit 534743eCopy full SHA for 534743e
include/boost/histogram/accumulators/mean.hpp
@@ -154,7 +154,7 @@ class mean {
154
private:
155
impl_type data_{0, 0, 0};
156
157
- friend struct unsafe_access;
+ friend struct ::boost::histogram::unsafe_access;
158
};
159
160
} // namespace accumulators
include/boost/histogram/unsafe_access.hpp
@@ -117,7 +117,7 @@ struct unsafe_access {
117
*/
118
template <class T>
119
static constexpr auto& accumulators_mean_impl(T& m) {
120
- return reinterpret_cast<typename T::impl_type&>(m);
+ return m.data_;
121
}
122
123
0 commit comments