summaryrefslogtreecommitdiff
path: root/lib/cpp/src/thrift
diff options
context:
space:
mode:
authorcyy <cyyever@outlook.com>2019-01-05 17:09:34 +0800
committerJames E. King III <jking@apache.org>2019-01-07 08:11:37 -0500
commit8cb3b6854818bf63d3208afaf4dc9e70c6137500 (patch)
tree7cd05113e5ccff895c78ccc1a3f6efebe5803866 /lib/cpp/src/thrift
parentd65e91c47613e54eb0c2bf521ae2cd4242d58ed9 (diff)
downloadthrift-8cb3b6854818bf63d3208afaf4dc9e70c6137500.tar.gz
remove stdcxx namespace and use std directly
Diffstat (limited to 'lib/cpp/src/thrift')
-rw-r--r--lib/cpp/src/thrift/concurrency/Monitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpp/src/thrift/concurrency/Monitor.cpp b/lib/cpp/src/thrift/concurrency/Monitor.cpp
index 8e4ac79a7..9570cc691 100644
--- a/lib/cpp/src/thrift/concurrency/Monitor.cpp
+++ b/lib/cpp/src/thrift/concurrency/Monitor.cpp
@@ -34,7 +34,7 @@
namespace apache {
namespace thrift {
-using std::scoped_ptr;
+using std::unique_ptr;
using std::shared_ptr;
namespace concurrency {
@@ -163,7 +163,7 @@ private:
}
}
- scoped_ptr<Mutex> ownedMutex_;
+ unique_ptr<Mutex> ownedMutex_;
Mutex* mutex_;
mutable pthread_cond_t pthread_cond_;