mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-13 22:53:27 +01:00
network_throttle: remove unused xxx static member
This commit is contained in:
parent
24f584d90d
commit
e0a61299fb
@ -121,8 +121,6 @@ class network_throttle_manager {
|
|||||||
friend class connection_basic; // FRIEND - to directly access global throttle-s. !! REMEMBER TO USE LOCKS!
|
friend class connection_basic; // FRIEND - to directly access global throttle-s. !! REMEMBER TO USE LOCKS!
|
||||||
friend class connection_basic_pimpl; // ditto
|
friend class connection_basic_pimpl; // ditto
|
||||||
|
|
||||||
static int xxx;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static i_network_throttle & get_global_throttle_in(); ///< singleton ; for friend class ; caller MUST use proper locks! like m_lock_get_global_throttle_in
|
static i_network_throttle & get_global_throttle_in(); ///< singleton ; for friend class ; caller MUST use proper locks! like m_lock_get_global_throttle_in
|
||||||
static i_network_throttle & get_global_throttle_inreq(); ///< ditto ; use lock ... use m_lock_get_global_throttle_inreq obviously
|
static i_network_throttle & get_global_throttle_inreq(); ///< ditto ; use lock ... use m_lock_get_global_throttle_inreq obviously
|
||||||
|
@ -71,9 +71,6 @@ boost::mutex network_throttle_manager::m_lock_get_global_throttle_in;
|
|||||||
boost::mutex network_throttle_manager::m_lock_get_global_throttle_inreq;
|
boost::mutex network_throttle_manager::m_lock_get_global_throttle_inreq;
|
||||||
boost::mutex network_throttle_manager::m_lock_get_global_throttle_out;
|
boost::mutex network_throttle_manager::m_lock_get_global_throttle_out;
|
||||||
|
|
||||||
int network_throttle_manager::xxx;
|
|
||||||
|
|
||||||
|
|
||||||
// ================================================================================================
|
// ================================================================================================
|
||||||
// methods:
|
// methods:
|
||||||
i_network_throttle & network_throttle_manager::get_global_throttle_in() {
|
i_network_throttle & network_throttle_manager::get_global_throttle_in() {
|
||||||
|
Loading…
Reference in New Issue
Block a user