From 99338e69b0180a7ca3fd1d825cca5708a3988e3d Mon Sep 17 00:00:00 2001 From: Jairo <947600215@qq.com> Date: Tue, 9 Mar 2021 16:46:10 +0800 Subject: [PATCH] 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 ef89aa6e69..27777e425a 100644 --- a/src/butil/containers/flat_map.h +++ b/src/butil/containers/flat_map.h @@ -247,7 +247,7 @@ class FlatMap { { 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(spaces);