Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Return
Method
Return
libs/drape/object_pool.hpp:73–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
}
72
73
void Return(T * object)
74
{
75
std::lock_guard<std::mutex> lock(m_lock);
76
m_pool.push_back(object);
77
}
78
79
private:
80
#if defined(DEBUG) || defined(LOG_OBJECT_POOL)
Callers
4
UNIT_TEST
Function · 0.80
~BatchersPool
Method · 0.80
ReleaseBatcher
Method · 0.80
OnTaskFinished
Method · 0.80
Calls
1
push_back
Method · 0.45
Tested by
1
UNIT_TEST
Function · 0.64