summaryrefslogtreecommitdiff
path: root/src/ServerStatMan.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-09 03:04:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-09 03:15:10 +0900
commitb0f440e631efe18099ced96b604447b5fdce28d8 (patch)
treed4a705616a58c314eab568772d5a3c4cc53bd69b /src/ServerStatMan.h
parent99cd73c0926f0c07d27777fde2f15816e8040030 (diff)
Rewrite Time with chrono
Diffstat (limited to 'src/ServerStatMan.h')
-rw-r--r--src/ServerStatMan.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ServerStatMan.h b/src/ServerStatMan.h
index 1b1a4674..1b77fc7c 100644
--- a/src/ServerStatMan.h
+++ b/src/ServerStatMan.h
@@ -62,7 +62,8 @@ public:
bool save(const std::string& filename) const;
- void removeStaleServerStat(time_t timeout);
+ void removeStaleServerStat(const std::chrono::seconds& timeout);
+
private:
typedef std::set<std::shared_ptr<ServerStat>,
DerefLess<std::shared_ptr<ServerStat> > > ServerStatSet;