提交 acd6b84b 编写于 作者: L liuhui

fix: Acquire、Release typo

Signed-off-by: Nliuhui <liuhui@ohos.com.cn>
上级 80db5b26
......@@ -2178,12 +2178,12 @@ class LockGuard {
public:
LockGuard(const LockType& lockType): lock_(lockType)
{
lock_.Aquire();
lock_.Acquire();
}
~LockGuard()
{
lock_.Relase();
lock_.Release();
}
private:
......
......@@ -2178,12 +2178,12 @@ class LockGuard {
public:
LockGuard(const LockType& lockType): lock_(lockType)
{
lock_.Aquire();
lock_.Acquire();
}
~LockGuard()
{
lock_.Relase();
lock_.Release();
}
private:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册