From 4a0f4697c8cd0623df8a4abd69bff100594f7a1f Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Sat, 16 Nov 2019 22:52:27 +0100 Subject: [PATCH] [891-make-stats-mgr-thread-safe] Removed a spurious ~ --- src/lib/stats/stats_mgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2