This is an automated email from the ASF dual-hosted git repository.
chenBright pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 2a3a1867 Fix typo 'occuring' to 'occurring' in scoped_ptr.h (#3706)
2a3a1867 is described below
commit 2a3a1867f39e1a7298de16663e482bb6ddd0f7b2
Author: Mohd Irshad <[email protected]>
AuthorDate: Wed Nov 4 09:12:55 2026 +0530
Fix typo 'occuring' to 'occurring' in scoped_ptr.h (#3706)
---
src/butil/memory/scoped_ptr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/butil/memory/scoped_ptr.h b/src/butil/memory/scoped_ptr.h
index f3356bf9..fd46310f 100644
--- a/src/butil/memory/scoped_ptr.h
+++ b/src/butil/memory/scoped_ptr.h
@@ -237,7 +237,7 @@ class scoped_ptr_impl {
//
// During the transition period, set the stored pointer to nullptr while
// deleting the object. Eventually, this safety check will be removed to
- // prevent the scenario initially described from occuring and
+ // prevent the scenario initially described from occurring and
// http://crbug.com/176091 can be closed.
T* old = data_.ptr;
data_.ptr = nullptr;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]