Fix net query Counter initialization.

GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
This commit is contained in:
levlam 2020-10-13 02:30:40 +03:00
parent b514800cd1
commit 1aff1e75ef

View File

@ -41,7 +41,7 @@ class NetQueryStats {
void dump_pending_network_queries();
private:
NetQueryCounter::Counter count_;
NetQueryCounter::Counter count_{0};
std::atomic<bool> use_list_{true};
TsList<NetQueryDebug> list_;
};