diff options
Diffstat (limited to 'boost/accumulators/statistics/max.hpp')
-rw-r--r-- | boost/accumulators/statistics/max.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/accumulators/statistics/max.hpp b/boost/accumulators/statistics/max.hpp index 820f6593f0..15033e6daa 100644 --- a/boost/accumulators/statistics/max.hpp +++ b/boost/accumulators/statistics/max.hpp @@ -48,6 +48,13 @@ namespace impl return this->max_; } + // make this accumulator serializeable + template<class Archive> + void serialize(Archive & ar, const unsigned int file_version) + { + ar & max_; + } + private: Sample max_; }; |