]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/accumulators/statistics/moment.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / accumulators / statistics / moment.hpp
index 3dabd47ecf20c4707ec3515a718b7d1d49c4e42d..9ba1e4caaf432a767bc6906fd0ff244203043485 100644 (file)
@@ -75,6 +75,13 @@ namespace impl
             return numeric::fdiv(this->sum, count(args));
         }
 
+        // make this accumulator serializeable
+        template<class Archive>
+        void serialize(Archive & ar, const unsigned int file_version)
+        { 
+            ar & sum;
+        }
+
     private:
         Sample sum;
     };