X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Faccumulators%2Fstatistics%2Fweighted_mean.hpp;h=1ddce8dd57a8e220a33a97655001b0f6abff68ba;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=a80ef0984c59d26e145060479beef8bf603ae37e;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/boost/accumulators/statistics/weighted_mean.hpp b/ceph/src/boost/boost/accumulators/statistics/weighted_mean.hpp index a80ef0984..1ddce8dd5 100644 --- a/ceph/src/boost/boost/accumulators/statistics/weighted_mean.hpp +++ b/ceph/src/boost/boost/accumulators/statistics/weighted_mean.hpp @@ -97,6 +97,13 @@ namespace impl return this->mean; } + // make this accumulator serializeable + template + void serialize(Archive & ar, const unsigned int file_version) + { + ar & mean; + } + private: result_type mean; };