This is an automated email from the ASF dual-hosted git repository.

jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit 8cb3b6854818bf63d3208afaf4dc9e70c6137500
Author: cyy <cyye...@outlook.com>
AuthorDate: Sat Jan 5 17:09:34 2019 +0800

    remove stdcxx namespace and use std directly
---
 lib/cpp/src/thrift/concurrency/Monitor.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/cpp/src/thrift/concurrency/Monitor.cpp 
b/lib/cpp/src/thrift/concurrency/Monitor.cpp
index 8e4ac79..9570cc6 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_;

Reply via email to