made reset_stats noexcept

This commit is contained in:
joaquintides
2024-05-06 13:26:30 +02:00
parent 28fc689011
commit 4c0aea983e
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -1842,7 +1842,7 @@ public:
};
}
void reset_stats()
void reset_stats()noexcept
{
cstats.insertion.reset();
cstats.successful_lookup.reset();

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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