diff options
author | Scott Lobdell <slobdell@google.com> | 2022-03-11 19:27:17 +0000 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2022-03-11 19:57:09 +0000 |
commit | c9218ef1b82430a07d94f74c212a30e7ccc52975 (patch) | |
tree | 241b7fdeb6bdf1cf3af925ba8996f18faa8973d9 /system/common/message_loop_thread.h | |
parent | a26bda4d37221f2f7ef750b413502091e3bcddd4 (diff) | |
parent | 480d2270b269a0e47bf475eb439111f3f966e2a9 (diff) |
Merge TP1A.220225.003
Change-Id: Id71ac466dbfe3707fe2e544ce22b1da8f474ec2b
Diffstat (limited to 'system/common/message_loop_thread.h')
-rw-r--r-- | system/common/message_loop_thread.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/common/message_loop_thread.h b/system/common/message_loop_thread.h index 7420dbcb26..ece1d0ffbc 100644 --- a/system/common/message_loop_thread.h +++ b/system/common/message_loop_thread.h @@ -48,6 +48,9 @@ class MessageLoopThread final { explicit MessageLoopThread(const std::string& thread_name); explicit MessageLoopThread(const std::string& thread_name, bool is_main); + MessageLoopThread(const MessageLoopThread&) = delete; + MessageLoopThread& operator=(const MessageLoopThread&) = delete; + /** * Destroys the message loop thread automatically when it goes out of scope */ @@ -199,8 +202,6 @@ class MessageLoopThread final { bool shutting_down_; bool is_main_; ::rust::Box<shim::rust::MessageLoopThread>* rust_thread_ = nullptr; - - DISALLOW_COPY_AND_ASSIGN(MessageLoopThread); }; inline std::ostream& operator<<(std::ostream& os, |