# 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:
janwas
2006-06-29 22:52:50 +00:00
parent fd38387778
commit 600adac871
9 changed files with 49 additions and 43 deletions
-3
View File
@@ -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)