summaryrefslogtreecommitdiff
path: root/system/common/repeating_timer.h
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2022-03-11 19:27:17 +0000
committerScott Lobdell <slobdell@google.com>2022-03-11 19:57:09 +0000
commitc9218ef1b82430a07d94f74c212a30e7ccc52975 (patch)
tree241b7fdeb6bdf1cf3af925ba8996f18faa8973d9 /system/common/repeating_timer.h
parenta26bda4d37221f2f7ef750b413502091e3bcddd4 (diff)
parent480d2270b269a0e47bf475eb439111f3f966e2a9 (diff)
Merge TP1A.220225.003
Change-Id: Id71ac466dbfe3707fe2e544ce22b1da8f474ec2b
Diffstat (limited to 'system/common/repeating_timer.h')
-rw-r--r--system/common/repeating_timer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/common/repeating_timer.h b/system/common/repeating_timer.h
index 24eae67d09..5c2c9e3169 100644
--- a/system/common/repeating_timer.h
+++ b/system/common/repeating_timer.h
@@ -39,6 +39,9 @@ class MessageLoopThread;
class RepeatingTimer final {
public:
RepeatingTimer() : expected_time_next_task_us_(0) {}
+ RepeatingTimer(const RepeatingTimer&) = delete;
+ RepeatingTimer& operator=(const RepeatingTimer&) = delete;
+
~RepeatingTimer();
/**
@@ -85,8 +88,6 @@ class RepeatingTimer final {
void CancelClosure(std::promise<void> promise);
void RunTask();
-
- DISALLOW_COPY_AND_ASSIGN(RepeatingTimer);
};
} // namespace common