From: Francis Dupont Date: Sat, 16 Nov 2019 21:52:27 +0000 (+0100) Subject: [891-make-stats-mgr-thread-safe] Removed a spurious ~ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a0f4697c8cd0623df8a4abd69bff100594f7a1f;p=thirdparty%2Fkea.git [891-make-stats-mgr-thread-safe] Removed a spurious ~ --- diff --git a/src/lib/stats/stats_mgr.h b/src/lib/stats/stats_mgr.h index d2df9c97fe..b3244b5538 100644 --- a/src/lib/stats/stats_mgr.h +++ b/src/lib/stats/stats_mgr.h @@ -140,7 +140,7 @@ class StatsMgr : public boost::noncopyable { /// @return true if successful, false if there's no such statistic /// Example: /// To set a statistic to keep observations for the last 5 minutes, call: - /// setMaxSampleAge~("incoming-packets", time_duration(0, 5, 0, 0)); + /// setMaxSampleAge("incoming-packets", time_duration(0, 5, 0, 0)); /// to revert statistic to a single value, call: /// setMaxSampleAge("incoming-packets", time_duration(0, 0, 0, 0)); bool setMaxSampleAge(const std::string& name, const StatsDuration& duration);