summaryrefslogtreecommitdiff
path: root/yapf/yapf_costcache.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'yapf/yapf_costcache.hpp')
-rw-r--r--yapf/yapf_costcache.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/yapf/yapf_costcache.hpp b/yapf/yapf_costcache.hpp
index ee4029e0c..5ad6f8cdc 100644
--- a/yapf/yapf_costcache.hpp
+++ b/yapf/yapf_costcache.hpp
@@ -148,11 +148,11 @@ protected:
FORCEINLINE static Cache& stGetGlobalCache()
{
static int last_rail_change_counter = 0;
- static uint32 last_day = 0;
+ static Date last_date = 0;
// some statistics
- if (last_day != _date) {
- last_day = _date;
+ if (last_date != _date) {
+ last_date = _date;
DEBUG(yapf, 1)("pf time today:%5d ms\n", _total_pf_time_us / 1000);
_total_pf_time_us = 0;
}