Deleting copy constructors for Scoped* classes.

Bug: webrtc:10365
Change-Id: Ia670b7b1ac72eb19f9e30228fd023601e2fb8a88
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128901
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27259}
This commit is contained in:
Sebastian Jansson
2019-03-22 15:42:38 +01:00
committed by Commit Bot
parent 0cd95081c0
commit 9debe5aee4
5 changed files with 10 additions and 1 deletions

View File

@ -160,6 +160,9 @@ class RTC_LOCKABLE Thread : public MessageQueue {
class ScopedDisallowBlockingCalls {
public:
ScopedDisallowBlockingCalls();
ScopedDisallowBlockingCalls(const ScopedDisallowBlockingCalls&) = delete;
ScopedDisallowBlockingCalls& operator=(const ScopedDisallowBlockingCalls&) =
delete;
~ScopedDisallowBlockingCalls();
private: