mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 12:39:59 +00:00
network_throttle: remove unused xxx static member
This commit is contained in:
parent
24f584d90d
commit
e0a61299fb
2 changed files with 0 additions and 5 deletions
|
@ -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 a new issue