Kaydet (Commit) 9a744dea authored tarafından Michael Meeks's avatar Michael Meeks

vclptr: assert that we have a >0 ref-count in acquire as well.

Change-Id: Ia2286661a8f62e8a46c44c390ab1a8a5dffe81d0
üst 8372b3c3
......@@ -274,6 +274,7 @@ private:
inline void acquire() const
{
assert(mnRefCnt>0);
mnRefCnt++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment