mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5242
This commit is contained in:
parent
e70f262a20
commit
a6c78d766a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue