You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/07/04 04:46:53 UTC

[rocketmq-clients] branch cpp updated: Fix to make it compile on Windows

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

lizhanhui pushed a commit to branch cpp
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/cpp by this push:
     new ad60f95  Fix to make it compile on Windows
ad60f95 is described below

commit ad60f95809ad0acc8e093bc0962a56799b38e069
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Mon Jul 4 12:46:44 2022 +0800

    Fix to make it compile on Windows
---
 cpp/src/main/cpp/client/RpcClientImpl.cpp       | 4 +---
 cpp/src/main/cpp/client/include/RpcClient.h     | 7 ++-----
 cpp/src/main/cpp/client/include/RpcClientImpl.h | 7 ++-----
 3 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/cpp/src/main/cpp/client/RpcClientImpl.cpp b/cpp/src/main/cpp/client/RpcClientImpl.cpp
index 623547e..35016c3 100644
--- a/cpp/src/main/cpp/client/RpcClientImpl.cpp
+++ b/cpp/src/main/cpp/client/RpcClientImpl.cpp
@@ -21,14 +21,12 @@
 #include <sstream>
 #include <thread>
 
-#include "absl/time/time.h"
-
 #include "ClientManager.h"
 #include "ReceiveMessageStreamReader.h"
 #include "RpcClient.h"
 #include "TelemetryBidiReactor.h"
 #include "TlsHelper.h"
-#include "include/ReceiveMessageContext.h"
+#include "absl/time/time.h"
 
 ROCKETMQ_NAMESPACE_BEGIN
 
diff --git a/cpp/src/main/cpp/client/include/RpcClient.h b/cpp/src/main/cpp/client/include/RpcClient.h
index 2fc8448..fbb3017 100644
--- a/cpp/src/main/cpp/client/include/RpcClient.h
+++ b/cpp/src/main/cpp/client/include/RpcClient.h
@@ -21,15 +21,12 @@
 #include <memory>
 #include <string>
 
-#include "ReceiveMessageResult.h"
+#include "Protocol.h"
+#include "ReceiveMessageContext.h"
 #include "absl/container/flat_hash_map.h"
 #include "absl/strings/string_view.h"
 #include "grpcpp/grpcpp.h"
 
-#include "InvocationContext.h"
-#include "Protocol.h"
-#include "ReceiveMessageContext.h"
-
 ROCKETMQ_NAMESPACE_BEGIN
 
 using Channel = grpc::Channel;
diff --git a/cpp/src/main/cpp/client/include/RpcClientImpl.h b/cpp/src/main/cpp/client/include/RpcClientImpl.h
index 6406c74..35316ec 100644
--- a/cpp/src/main/cpp/client/include/RpcClientImpl.h
+++ b/cpp/src/main/cpp/client/include/RpcClientImpl.h
@@ -18,14 +18,11 @@
 
 #include <memory>
 
-#include "InvocationContext.h"
-#include "ReceiveMessageCallback.h"
-#include "ReceiveMessageContext.h"
-#include "absl/container/flat_hash_map.h"
-
 #include "Client.h"
 #include "ClientManager.h"
+#include "ReceiveMessageContext.h"
 #include "RpcClient.h"
+#include "absl/container/flat_hash_map.h"
 
 ROCKETMQ_NAMESPACE_BEGIN