aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/thd_no_cxx11.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grpc++/impl/thd_no_cxx11.h')
-rw-r--r--include/grpc++/impl/thd_no_cxx11.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/impl/thd_no_cxx11.h b/include/grpc++/impl/thd_no_cxx11.h
index a01b931df8..a6bdd7dfe9 100644
--- a/include/grpc++/impl/thd_no_cxx11.h
+++ b/include/grpc++/impl/thd_no_cxx11.h
@@ -82,6 +82,10 @@ class thread {
thread_function_base *func_;
gpr_thd_id thd_;
bool joined_;
+
+ // Disallow copy and assign.
+ thread(const thread&);
+ void operator=(const thread&);
};
} // namespace grpc