*** empty log message ***

svn path=/trunk/boinc/; revision=5242
This commit is contained in:
Rom Walton 2005-01-29 21:30:45 +00:00
parent e70f262a20
commit a6c78d766a
5 changed files with 10 additions and 5 deletions

View File

@ -422,7 +422,8 @@ wxInt32 CViewMessages::GetCacheCount()
wxInt32 CViewMessages::RemoveCacheElement()
{
m_MessageCache.erase( m_MessageCache.end() );
delete m_MessageCache.back();
m_MessageCache.erase( m_MessageCache.end() - 1 );
return 0;
}

View File

@ -625,7 +625,8 @@ wxInt32 CViewProjects::GetCacheCount()
wxInt32 CViewProjects::RemoveCacheElement()
{
m_ProjectCache.erase( m_ProjectCache.end() );
delete m_ProjectCache.back();
m_ProjectCache.erase( m_ProjectCache.end() - 1 );
return 0;
}

View File

@ -289,7 +289,8 @@ wxInt32 CViewResources::GetCacheCount()
wxInt32 CViewResources::RemoveCacheElement()
{
m_ResourceCache.erase( m_ResourceCache.end() );
delete m_ResourceCache.back();
m_ResourceCache.erase( m_ResourceCache.end() - 1 );
return 0;
}

View File

@ -462,7 +462,8 @@ wxInt32 CViewTransfers::GetCacheCount()
wxInt32 CViewTransfers::RemoveCacheElement()
{
m_TransferCache.erase( m_TransferCache.end() );
delete m_TransferCache.back();
m_TransferCache.erase( m_TransferCache.end() - 1 );
return 0;
}

View File

@ -538,7 +538,8 @@ wxInt32 CViewWork::GetCacheCount()
wxInt32 CViewWork::RemoveCacheElement()
{
m_WorkCache.erase( m_WorkCache.end() );
delete m_WorkCache.back();
m_WorkCache.erase( m_WorkCache.end() - 1 );
return 0;
}