From ab58c8c6cb4c2f7db2d66aa2ed66ebca845a65b1 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 29 Dec 2015 16:19:46 +0100 Subject: [PATCH] Changed: Minor changes --- code/ryzom/common/src/game_share/base_types.h | 2 +- .../entities_game_service/player_manager/db_string_updater.h | 2 +- .../src/entities_game_service/player_manager/player_manager.h | 2 +- .../player_manager/player_manager_interface.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ryzom/common/src/game_share/base_types.h b/code/ryzom/common/src/game_share/base_types.h index b1b0dc1e5..1440c0974 100644 --- a/code/ryzom/common/src/game_share/base_types.h +++ b/code/ryzom/common/src/game_share/base_types.h @@ -239,7 +239,7 @@ public: CHashCode() {} - enum { bucket_size = 4, min_buckets = 8, }; + enum { bucket_size = 4, min_buckets = 8 }; size_t operator () ( const TDataSetRow &index ) const { return index.getHashCode(); } diff --git a/code/ryzom/server/src/entities_game_service/player_manager/db_string_updater.h b/code/ryzom/server/src/entities_game_service/player_manager/db_string_updater.h index e9296b0ef..43c047857 100644 --- a/code/ryzom/server/src/entities_game_service/player_manager/db_string_updater.h +++ b/code/ryzom/server/src/entities_game_service/player_manager/db_string_updater.h @@ -62,7 +62,7 @@ class CDBStringUpdater : public NLMISC::CSingleton // hasher for the identifier struct THashDBStringLeaf { - enum { bucket_size = 4, min_buckets = 8, }; + enum { bucket_size = 4, min_buckets = 8 }; size_t operator()(const TBDStringLeaf &stringLeaf) const { return ((size_t)stringLeaf.ClientDB>>4) ^ ((size_t)stringLeaf.Node>>4); diff --git a/code/ryzom/server/src/entities_game_service/player_manager/player_manager.h b/code/ryzom/server/src/entities_game_service/player_manager/player_manager.h index 5e68af4d2..95ceda197 100644 --- a/code/ryzom/server/src/entities_game_service/player_manager/player_manager.h +++ b/code/ryzom/server/src/entities_game_service/player_manager/player_manager.h @@ -50,7 +50,7 @@ extern CGenericXmlMsgHeaderManager GenericMsgManager; struct CServiceIdHash { - enum { bucket_size = 4, min_buckets = 8, }; + enum { bucket_size = 4, min_buckets = 8 }; size_t operator () ( const NLNET::TServiceId &sid ) const { return sid.get(); } bool operator()(const NLNET::TServiceId &left, const NLNET::TServiceId &right) const { return left < right; } }; diff --git a/code/ryzom/server/src/entities_game_service/player_manager/player_manager_interface.h b/code/ryzom/server/src/entities_game_service/player_manager/player_manager_interface.h index 2ebf3d50e..ebaa6e66a 100644 --- a/code/ryzom/server/src/entities_game_service/player_manager/player_manager_interface.h +++ b/code/ryzom/server/src/entities_game_service/player_manager/player_manager_interface.h @@ -43,7 +43,7 @@ public: struct CUint32Hash { - enum { bucket_size = 4, min_buckets = 8, }; + enum { bucket_size = 4, min_buckets = 8 }; size_t operator () (const uint32 &i) const { return i; } bool operator()(const uint32 left, const uint32 right) const { return left < right; } };