From acd6b84b218e7212f2cf73089e2937a4a2a8e872 Mon Sep 17 00:00:00 2001 From: liuhui Date: Thu, 26 May 2022 15:51:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Acquire=E3=80=81Release=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuhui --- en/contribute/OpenHarmony-cpp-coding-style-guide.md | 4 ++-- zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/contribute/OpenHarmony-cpp-coding-style-guide.md b/en/contribute/OpenHarmony-cpp-coding-style-guide.md index e599a3d5d1..c91761f8d7 100755 --- a/en/contribute/OpenHarmony-cpp-coding-style-guide.md +++ b/en/contribute/OpenHarmony-cpp-coding-style-guide.md @@ -2178,12 +2178,12 @@ class LockGuard { public: LockGuard(const LockType& lockType): lock_(lockType) { - lock_.Aquire(); + lock_.Acquire(); } ~LockGuard() { - lock_.Relase(); + lock_.Release(); } private: diff --git a/zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md b/zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md index 06cae9de85..74bb4275e0 100755 --- a/zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md +++ b/zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md @@ -2178,12 +2178,12 @@ class LockGuard { public: LockGuard(const LockType& lockType): lock_(lockType) { - lock_.Aquire(); + lock_.Acquire(); } ~LockGuard() { - lock_.Relase(); + lock_.Release(); } private: -- GitLab