This is an automated email from the ASF dual-hosted git repository.
laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new cf997de7f fix(IWYU): fix include errors for rpc_host_port reported by
IWYU (#1434)
cf997de7f is described below
commit cf997de7fb010a183c941670e6700ad52dc73b40
Author: WHBANG <[email protected]>
AuthorDate: Thu Apr 13 00:16:00 2023 +0800
fix(IWYU): fix include errors for rpc_host_port reported by IWYU (#1434)
https://github.com/apache/incubator-pegasus/issues/1349
Fix IWYU issues in rpc_host_port.*
---
src/runtime/rpc/rpc_host_port.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/runtime/rpc/rpc_host_port.h b/src/runtime/rpc/rpc_host_port.h
index 864a43f0e..b036e1d41 100644
--- a/src/runtime/rpc/rpc_host_port.h
+++ b/src/runtime/rpc/rpc_host_port.h
@@ -19,9 +19,10 @@
#pragma once
-// IWYU pragma: no_include <experimental/string_view>
-#include <stdint.h>
#include <cstddef>
+#include <cstdint>
+// IWYU pragma: no_include <experimental/string_view>
+#include <functional>
#include <iosfwd>
#include <string>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]