mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
# housekeeping and bugfix in Loader queue
remove old instrumentation, fix warnings, add measured timing results Loader: bugfix: no more memory leak whenever callback returns a warning code. this was a loophole in the callback return value docs. This was SVN commit r4048.
This commit is contained in:
@@ -214,11 +214,8 @@ bool CObjectBase::Load(const char* filename)
|
||||
return true;
|
||||
}
|
||||
|
||||
TIMER_ADD_CLIENT(tc_CalculateVariationKey)
|
||||
|
||||
std::vector<u8> CObjectBase::CalculateVariationKey(const std::vector<std::set<CStrW> >& selections)
|
||||
{
|
||||
TIMER_ACCRUE(tc_CalculateVariationKey);
|
||||
// (TODO: see CObjectManager::FindObjectVariation for an opportunity to
|
||||
// call this function a bit less frequently)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user