lock: fixed a compilation warning on Windows

parent e2ca10de
......@@ -148,7 +148,7 @@ private:
l = m.tryLock();
else
l++;
return l;
return !!l;
}
void leaveLocked()
......
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