diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:27:01 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:34:17 +0000 |
| commit | c6cb4ba159a8916243d7ac5a5c4e8d13942baf99 (patch) | |
| tree | 5183b6cb982dadb2b91987ff7b69486ea8d811df /modules/operserv/os_stats.cpp | |
| parent | e341cac8d6565044f7390852afb40c5e388121df (diff) | |
Fix some coding style issues.
Diffstat (limited to 'modules/operserv/os_stats.cpp')
| -rw-r--r-- | modules/operserv/os_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operserv/os_stats.cpp b/modules/operserv/os_stats.cpp index 82c62ce6e..fe4cd6f80 100644 --- a/modules/operserv/os_stats.cpp +++ b/modules/operserv/os_stats.cpp @@ -28,7 +28,7 @@ struct Stats final data["maxusertime"] << MaxUserTime; } - static Serializable* Unserialize(Serializable *obj, Serialize::Data &data) + static Serializable *Unserialize(Serializable *obj, Serialize::Data &data) { data["maxusercnt"] >> MaxUserCount; data["maxusertime"] >> MaxUserTime; @@ -160,7 +160,7 @@ private: return; } - template<typename T> void GetHashStats(const T& map, size_t& entries, size_t& buckets, size_t& max_chain) + template<typename T> void GetHashStats(const T &map, size_t &entries, size_t &buckets, size_t &max_chain) { entries = map.size(), buckets = map.bucket_count(), max_chain = 0; for (size_t i = 0; i < buckets; ++i) |
