Misuse of scoped lock.

This commit is contained in:
JoelKatz
2013-04-12 18:35:49 -07:00
parent 0359ab5d46
commit 455c73ce4d

View File

@@ -82,7 +82,7 @@ public:
}
int getCount()
{
boost::mutex::scoped_lock(mLock);
boost::mutex::scoped_lock sl(mLock);
return mInstances;
}
const std::string& getName()