未验证 提交 25abd6b6 编写于 作者: O openharmony_ci 提交者: Gitee

!4428 【OpenHarmony开源贡献者计划2022】fix: Acquire、Release typo

Merge pull request !4428 from rtos_ming/Relase
......@@ -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.
先完成此消息的编辑!
想要评论请 注册