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

surendralilhore pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 4101b0c  HDFS-15476 Make AsyncStream executor private (#2151)
4101b0c is described below

commit 4101b0c0edab62a2f9fdbeb3071dc602fac45961
Author: Suraj Naik <suraj.nai...@gmail.com>
AuthorDate: Sun Jul 19 23:26:54 2020 +0530

    HDFS-15476 Make AsyncStream executor private (#2151)
---
 .../src/main/native/libhdfspp/lib/common/async_stream.h              | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/async_stream.h
 
b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/async_stream.h
index e9779e7..ad9ad64 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/async_stream.h
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/async_stream.h
@@ -41,7 +41,6 @@ typedef boost::asio::const_buffers_1   ConstBuffer;
 class AsyncStream  {
 public:
   using executor_type = boost::asio::system_executor;
-  executor_type executor_;
 
   virtual void async_read_some(const MutableBuffer &buf,
           std::function<void (const boost::system::error_code & error,
@@ -54,6 +53,10 @@ public:
   executor_type get_executor() {
       return executor_;
   }
+
+private:
+  executor_type executor_;
+
 };
 
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to