Explorar el Código

Missing initializers in the NodeIO constructor

Ian Goldberg hace 1 año
padre
commit
2702840bcc
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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)
 {
 }