mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-01 11:21:25 -05:00
removed unused variable _item_count in pqiqos
This commit is contained in:
parent
e15058d14c
commit
115dd1cf5f
@ -60,7 +60,6 @@ public:
|
|||||||
: _threshold(0.0)
|
: _threshold(0.0)
|
||||||
, _counter(0.0)
|
, _counter(0.0)
|
||||||
, _inc(0.0)
|
, _inc(0.0)
|
||||||
, _item_count(0)
|
|
||||||
{}
|
{}
|
||||||
void *pop()
|
void *pop()
|
||||||
{
|
{
|
||||||
@ -69,7 +68,6 @@ public:
|
|||||||
|
|
||||||
void *item = _items.front().data ;
|
void *item = _items.front().data ;
|
||||||
_items.pop_front() ;
|
_items.pop_front() ;
|
||||||
--_item_count ;
|
|
||||||
|
|
||||||
return item ;
|
return item ;
|
||||||
}
|
}
|
||||||
@ -137,12 +135,11 @@ public:
|
|||||||
_items.push_back(rec) ;
|
_items.push_back(rec) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t size() const { return _item_count ; }
|
uint32_t size() const { return _items.size() ; }
|
||||||
|
|
||||||
float _threshold ;
|
float _threshold ;
|
||||||
float _counter ;
|
float _counter ;
|
||||||
float _inc ;
|
float _inc ;
|
||||||
uint32_t _item_count ;
|
|
||||||
|
|
||||||
std::list<ItemRecord> _items ;
|
std::list<ItemRecord> _items ;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user