Make RWGuard not copyable
---------------------------
Key: THRIFT-1333
URL: https://issues.apache.org/jira/browse/THRIFT-1333
Project: Thrift
Issue Type: Improvement
Components: C++ - Library
Reporter: Dave Watson
Priority: Minor
Attachments: 0029-Make-RWGuard-not-copyable.patch
>From aca289c602251bbfe7f6543ce037ac795be273e0 Mon Sep 17 00:00:00 2001
From: Jordan DeLong <[email protected]>
Date: Tue, 20 Apr 2010 19:35:56 +0000
Subject: [PATCH 29/33] Make RWGuard not copyable
Summary:
Copying this class would cause its contained mutex to
unlock twice. Mark it noncopyable.
Test Plan:
Compiled [internal fb thing].
Revert Plan:
OK
---
lib/cpp/src/concurrency/Mutex.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira