mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 05:25:55 +00:00
Need to do this too.
This commit is contained in:
@@ -82,9 +82,9 @@ public:
|
||||
* pointer.
|
||||
*/
|
||||
element_ptr get() {
|
||||
boost::lock_guard<boost::recursive_mutex> lock(m_lock);
|
||||
|
||||
element_ptr p, q;
|
||||
{
|
||||
boost::lock_guard<boost::recursive_mutex> lock(m_lock);
|
||||
|
||||
/*std::cout << "message requested ("
|
||||
<< m_cur_elements-m_avaliable.size()
|
||||
@@ -113,6 +113,7 @@ public:
|
||||
}
|
||||
|
||||
p->set_live();
|
||||
}
|
||||
return p;
|
||||
}
|
||||
void recycle(element_ptr p) {
|
||||
|
||||
Reference in New Issue
Block a user