]> git.stg.codes - stg.git/blobdiff - projects/stargazer/users.h
Merge branch 'master' of madf.dyndns.org:/var/git/stg
[stg.git] / projects / stargazer / users.h
index 22065367aad4254bdba8d489b5b84b697301dab4..424958da4d465ba78a221a211ccecd4c3e738f0d 100644 (file)
@@ -29,6 +29,7 @@ $Author: faust $
 #define USERS_H
 
 #include <pthread.h>
+
 #include <ctime>
 #include <string>
 #include <map>
@@ -136,11 +137,11 @@ private:
     void            DelUserFromIndexes(user_iter user);
 
     static void *   Run(void *);
-    void            NewMinute(const struct tm * t);
-    void            NewDay(const struct tm * t);
-    void            DayResetTraff(const struct tm * t);
+    void            NewMinute(const struct tm & t);
+    void            NewDay(const struct tm & t);
+    void            DayResetTraff(const struct tm & t);
 
-    bool            TimeToWriteDetailStat(const struct tm * t);
+    bool            TimeToWriteDetailStat(const struct tm & t);
 
     list<USER>          users;
     list<USER_TO_DEL>   usersToDelete;