summaryrefslogtreecommitdiff
path: root/system/common/message_loop_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/common/message_loop_thread.h')
-rw-r--r--system/common/message_loop_thread.h5
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,