You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by ja...@apache.org on 2019/04/12 06:48:18 UTC
[incubator-brpc] branch master updated: fix missing array
This is an automated email from the ASF dual-hosted git repository.
jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 67dec96 fix missing array
new 7965e9e Merge pull request #724 from zyearn/fix_missing_array
67dec96 is described below
commit 67dec96c7a96eca557c414c4c12bfae104169c05
Author: zhujiashun <zh...@gmail.com>
AuthorDate: Fri Apr 12 14:47:03 2019 +0800
fix missing array
---
src/brpc/policy/consistent_hashing_load_balancer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/brpc/policy/consistent_hashing_load_balancer.cpp b/src/brpc/policy/consistent_hashing_load_balancer.cpp
index ebb5cee..39d0fcf 100644
--- a/src/brpc/policy/consistent_hashing_load_balancer.cpp
+++ b/src/brpc/policy/consistent_hashing_load_balancer.cpp
@@ -15,6 +15,7 @@
// Authors: Zhangyi Chen (chenzhangyi01@baidu.com)
#include <algorithm> // std::set_union
+#include <array>
#include <gflags/gflags.h>
#include "butil/containers/flat_map.h"
#include "butil/errno.h"
@@ -23,7 +24,6 @@
#include "brpc/policy/consistent_hashing_load_balancer.h"
#include "brpc/policy/hasher.h"
-
namespace brpc {
namespace policy {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org