diff --git a/include/boost/unordered/concurrent_flat_map.hpp b/include/boost/unordered/concurrent_flat_map.hpp index 82689497..b67f2ad3 100644 --- a/include/boost/unordered/concurrent_flat_map.hpp +++ b/include/boost/unordered/concurrent_flat_map.hpp @@ -723,7 +723,7 @@ namespace boost { /// stats get_stats() const { return table_.get_stats(); } - void reset_stats() { table_.reset_stats(); } + void reset_stats() noexcept { table_.reset_stats(); } #endif /// Observers diff --git a/include/boost/unordered/concurrent_flat_set.hpp b/include/boost/unordered/concurrent_flat_set.hpp index c4e8a969..d0665f71 100644 --- a/include/boost/unordered/concurrent_flat_set.hpp +++ b/include/boost/unordered/concurrent_flat_set.hpp @@ -591,7 +591,7 @@ namespace boost { /// stats get_stats() const { return table_.get_stats(); } - void reset_stats() { table_.reset_stats(); } + void reset_stats() noexcept { table_.reset_stats(); } #endif /// Observers diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index ab2fb86c..db73a866 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -1842,7 +1842,7 @@ public: }; } - void reset_stats() + void reset_stats()noexcept { cstats.insertion.reset(); cstats.successful_lookup.reset(); diff --git a/include/boost/unordered/unordered_flat_map.hpp b/include/boost/unordered/unordered_flat_map.hpp index 20e60d96..55024102 100644 --- a/include/boost/unordered/unordered_flat_map.hpp +++ b/include/boost/unordered/unordered_flat_map.hpp @@ -663,7 +663,7 @@ namespace boost { /// stats get_stats() const { return table_.get_stats(); } - void reset_stats() { table_.reset_stats(); } + void reset_stats() noexcept { table_.reset_stats(); } #endif /// Observers diff --git a/include/boost/unordered/unordered_flat_set.hpp b/include/boost/unordered/unordered_flat_set.hpp index f1c09c31..a72d3567 100644 --- a/include/boost/unordered/unordered_flat_set.hpp +++ b/include/boost/unordered/unordered_flat_set.hpp @@ -483,7 +483,7 @@ namespace boost { /// stats get_stats() const { return table_.get_stats(); } - void reset_stats() { table_.reset_stats(); } + void reset_stats() noexcept { table_.reset_stats(); } #endif /// Observers diff --git a/include/boost/unordered/unordered_node_map.hpp b/include/boost/unordered/unordered_node_map.hpp index 33b91316..def251fa 100644 --- a/include/boost/unordered/unordered_node_map.hpp +++ b/include/boost/unordered/unordered_node_map.hpp @@ -758,7 +758,7 @@ namespace boost { /// stats get_stats() const { return table_.get_stats(); } - void reset_stats() { table_.reset_stats(); } + void reset_stats() noexcept { table_.reset_stats(); } #endif /// Observers diff --git a/include/boost/unordered/unordered_node_set.hpp b/include/boost/unordered/unordered_node_set.hpp index b9ee0057..e5e14115 100644 --- a/include/boost/unordered/unordered_node_set.hpp +++ b/include/boost/unordered/unordered_node_set.hpp @@ -572,7 +572,7 @@ namespace boost { /// stats get_stats() const { return table_.get_stats(); } - void reset_stats() { table_.reset_stats(); } + void reset_stats() noexcept { table_.reset_stats(); } #endif /// Observers