This is an automated email from the ASF dual-hosted git repository. guangmingchen 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 3dd23bcc Add include guard in rwlock.h (#3005) 3dd23bcc is described below commit 3dd23bcc9a4a12ab4ee014afec43095401e1ba71 Author: xiongjiwei <xiongjiwei1...@outlook.com> AuthorDate: Mon Jun 23 16:18:32 2025 +0800 Add include guard in rwlock.h (#3005) --- src/bthread/rwlock.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bthread/rwlock.h b/src/bthread/rwlock.h index a2708b99..295e643f 100644 --- a/src/bthread/rwlock.h +++ b/src/bthread/rwlock.h @@ -15,6 +15,9 @@ // specific language governing permissions and limitations // under the License. +#ifndef BTHREAD_RWLOCK_H +#define BTHREAD_RWLOCK_H + #include "bthread/types.h" #include "bthread/bthread.h" #include "butil/scoped_lock.h" @@ -212,3 +215,5 @@ private: }; } // namespace std + +#endif //BTHREAD_RWLOCK_H --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org