aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar makdharma <>2018-03-09 09:42:22 -0800
committerGravatar makdharma <>2018-03-09 09:42:22 -0800
commit9cd0099a5354bbb55ceafa5b675b65a31b6da39c (patch)
tree350f32b10e629070420fd704eb4b709ce0b38d84 /src
parent838af3eb6c6c6e7d49931ddc5c7e9c4fd26f2a18 (diff)
variable init sequence fix
Diffstat (limited to 'src')
-rw-r--r--src/cpp/server/server_cc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpp/server/server_cc.cc b/src/cpp/server/server_cc.cc
index 067f292b6e..18b0b182b1 100644
--- a/src/cpp/server/server_cc.cc
+++ b/src/cpp/server/server_cc.cc
@@ -368,13 +368,13 @@ Server::Server(
std::shared_ptr<std::vector<std::unique_ptr<ServerCompletionQueue>>>
sync_server_cqs,
int min_pollers, int max_pollers, int sync_cq_timeout_msec)
- : server_(nullptr),
- started_(false),
- max_receive_message_size_(max_receive_message_size),
+ : max_receive_message_size_(max_receive_message_size),
sync_server_cqs_(sync_server_cqs),
+ started_(false),
shutdown_(false),
shutdown_notified_(false),
has_generic_service_(false),
+ server_(nullptr),
server_initializer_(new ServerInitializer(this)),
health_check_service_disabled_(false) {
g_gli_initializer.summon();