diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:24:45 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:24:45 +0900 |
commit | 5ce1cfc2525b06c0a9e38531813781de0281c96d (patch) | |
tree | 19cc66c6cf6396db288813b2558cc350f1deede2 /boost/accumulators/statistics/max.hpp | |
parent | 3c1df2168531ad5580076ae08d529054689aeedd (diff) | |
download | boost-5ce1cfc2525b06c0a9e38531813781de0281c96d.tar.gz boost-5ce1cfc2525b06c0a9e38531813781de0281c96d.tar.bz2 boost-5ce1cfc2525b06c0a9e38531813781de0281c96d.zip |
Imported Upstream version 1.71.0upstream/1.71.0
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_; }; |