Skip to content

Commit

Permalink
Make periodic_task.h a self-contained header file (#2758)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuandew committed Sep 6, 2024
1 parent fea2952 commit 0a64fdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/brpc/periodic_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#ifndef BRPC_PERIODIC_TASK_H
#define BRPC_PERIODIC_TASK_H

#include <ctime>

namespace brpc {

// Override OnTriggeringTask() with code that needs to be periodically run. If
Expand Down

0 comments on commit 0a64fdf

Please sign in to comment.