mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
made reset_stats noexcept
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -1842,7 +1842,7 @@ public:
|
||||
};
|
||||
}
|
||||
|
||||
void reset_stats()
|
||||
void reset_stats()noexcept
|
||||
{
|
||||
cstats.insertion.reset();
|
||||
cstats.successful_lookup.reset();
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user