修复VirtualTileBox's Demo中Lock的使用问题
This commit is contained in:
parent
bb5cd4fb34
commit
24686f42c7
@ -63,9 +63,6 @@ void Provider::SetTotal(int nTotal)
|
|||||||
|
|
||||||
void Provider::RemoveTask(int nIndex)
|
void Provider::RemoveTask(int nIndex)
|
||||||
{
|
{
|
||||||
// ¼ÓËø
|
|
||||||
nbase::NAutoLock auto_lock(&lock_);
|
|
||||||
|
|
||||||
lock_.Lock();
|
lock_.Lock();
|
||||||
|
|
||||||
auto iter = m_vTasks.begin() + nIndex;
|
auto iter = m_vTasks.begin() + nIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user