This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push: new 99338e6 Update flat_map.h new 0650582 Merge pull request #1352 from yanjianglu/master 99338e6 is described below commit 99338e69b0180a7ca3fd1d825cca5708a3988e3d Author: Jairo <947600...@qq.com> AuthorDate: Tue Mar 9 16:46:10 2021 +0800 Update flat_map.h Correct spelling mistakes --- src/butil/containers/flat_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/butil/containers/flat_map.h b/src/butil/containers/flat_map.h index ef89aa6..27777e4 100644 --- a/src/butil/containers/flat_map.h +++ b/src/butil/containers/flat_map.h @@ -247,7 +247,7 @@ public: { new (element_spaces) Element(other.element()); } bool is_valid() const { return next != (const Bucket*)-1UL; } void set_invalid() { next = (Bucket*)-1UL; } - // NOTE: Only be called when in_valid() is true. + // NOTE: Only be called when is_valid() is true. Element& element() { void* spaces = element_spaces; // Suppress strict-aliasing return *reinterpret_cast<Element*>(spaces); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org