summaryrefslogtreecommitdiff
path: root/utils/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Timer.h')
-rw-r--r--utils/Timer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/Timer.h b/utils/Timer.h
index 367a320..bdeb520 100644
--- a/utils/Timer.h
+++ b/utils/Timer.h
@@ -3,7 +3,7 @@
*
* by Stephane Chatty
*
- * Copyright 1992-1995
+ * Copyright 1992-1996
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
* timers
@@ -38,11 +38,12 @@ private:
#else
CcuList OtherTimers;
#endif
+ bool FirstIsUpdated;
CcuCoreTimer* ExtractNextActive ();
public:
-inline CcuTimerSet () : FirstTimer (0), OtherTimers () {}
+inline CcuTimerSet () : FirstTimer (0), OtherTimers (), FirstIsUpdated (false) {}
inline ~CcuTimerSet () {}
-inline bool IsEmpty () const { return bool (FirstTimer == 0); }
+//inline bool IsEmpty () const { return bool (FirstTimer == 0); } seems useless (10 may 96)
};
class CcuCoreTimer {