소스 검색

Missing initializers in the NodeIO constructor

Ian Goldberg 1 년 전
부모
커밋
2702840bcc
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      App/net.cpp

+ 3 - 1
App/net.cpp

@@ -13,7 +13,9 @@
 NetIO *g_netio = NULL;
 
 NodeIO::NodeIO(tcp::socket &&socket, nodenum_t nodenum) :
-    sock(std::move(socket)), node_num(nodenum)
+    sock(std::move(socket)), node_num(nodenum), msgsize_inflight(0),
+    chunksize_inflight(0), recv_msgsize_inflight(0),
+    recv_chunksize_inflight(0)
 {
 }