aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/fileremoteprojectstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-10-16 09:43:39 +0200
committerGitHub Enterprise <[email protected]>2024-10-16 09:43:39 +0200
commitc81fec9186bb8c0175cf2870e8e3d08860759f82 (patch)
tree376702b359213a8452bf0935ae521b9a8d107cee /src/zenserver/projectstore/fileremoteprojectstore.cpp
parentMirror command: fix utf8 paths mapping to native code page (#197) (diff)
downloadzen-c81fec9186bb8c0175cf2870e8e3d08860759f82.tar.xz
zen-c81fec9186bb8c0175cf2870e8e3d08860759f82.zip
make sure to initialize stats in file, jupiter and zen remote stores (#198)
* make sure to initialize stats in file, jupiter and zen remote stores
Diffstat (limited to 'src/zenserver/projectstore/fileremoteprojectstore.cpp')
-rw-r--r--src/zenserver/projectstore/fileremoteprojectstore.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/zenserver/projectstore/fileremoteprojectstore.cpp b/src/zenserver/projectstore/fileremoteprojectstore.cpp
index 5c7a5536a..7d6c43c1e 100644
--- a/src/zenserver/projectstore/fileremoteprojectstore.cpp
+++ b/src/zenserver/projectstore/fileremoteprojectstore.cpp
@@ -295,13 +295,13 @@ private:
bool m_EnableBlocks = true;
bool m_UseTempBlocks = false;
- std::atomic_uint64_t m_SentBytes;
- std::atomic_uint64_t m_ReceivedBytes;
- std::atomic_uint64_t m_RequestTimeNS;
- std::atomic_uint64_t m_RequestCount;
- std::atomic_uint64_t m_PeakSentBytes;
- std::atomic_uint64_t m_PeakReceivedBytes;
- std::atomic_uint64_t m_PeakBytesPerSec;
+ std::atomic_uint64_t m_SentBytes = {};
+ std::atomic_uint64_t m_ReceivedBytes = {};
+ std::atomic_uint64_t m_RequestTimeNS = {};
+ std::atomic_uint64_t m_RequestCount = {};
+ std::atomic_uint64_t m_PeakSentBytes = {};
+ std::atomic_uint64_t m_PeakReceivedBytes = {};
+ std::atomic_uint64_t m_PeakBytesPerSec = {};
};
std::shared_ptr<RemoteProjectStore>