diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-04-27 23:30:18 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-04-27 23:30:18 +0200 |
commit | 5bfc376d1cee0f941657a771b87a3ee030d31c56 (patch) | |
tree | de739c3845aa3f5bb9cb4bb79236551d5f3fc8b5 /src/utils/tokencollector.cpp | |
parent | c53bc90dbaa876a86f762a3d864b1f920e2b8071 (diff) | |
parent | d4f3105d9a879f27baad6e43b8b3cb6fe2f0ef50 (diff) | |
download | manaserv-5bfc376d1cee0f941657a771b87a3ee030d31c56.tar.gz manaserv-5bfc376d1cee0f941657a771b87a3ee030d31c56.tar.bz2 manaserv-5bfc376d1cee0f941657a771b87a3ee030d31c56.tar.xz manaserv-5bfc376d1cee0f941657a771b87a3ee030d31c56.zip |
Merge branch 'master' into lpc2012
Diffstat (limited to 'src/utils/tokencollector.cpp')
-rw-r--r-- | src/utils/tokencollector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/tokencollector.cpp b/src/utils/tokencollector.cpp index e41d228e..691eca20 100644 --- a/src/utils/tokencollector.cpp +++ b/src/utils/tokencollector.cpp @@ -40,7 +40,7 @@ void TokenCollectorBase::insertClient(const std::string &token, intptr_t data) } } - time_t current = time(NULL); + time_t current = time(nullptr); Item item; item.token = token; @@ -64,7 +64,7 @@ void TokenCollectorBase::insertConnect(const std::string &token, intptr_t data) } } - time_t current = time(NULL); + time_t current = time(nullptr); Item item; item.token = token; @@ -114,7 +114,7 @@ void TokenCollectorBase::removeOutdated(time_t current) } TokenCollectorBase::TokenCollectorBase(): - mLastCheck(time(NULL)) + mLastCheck(time(nullptr)) { } |