From 0874680f7c1929b14525210b4246ba3a3d05614c Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Wed, 24 Jan 2024 17:00:30 -0800 Subject: [PATCH] Remove extra semi colon from fatal/string/rope.h Summary: `-Wextra-semi` or `-Wextra-semi-stmt` If the code compiles, this is safe to land. Reviewed By: dmm-fb Differential Revision: D52965935 fbshipit-source-id: ff098f6836e0175b4f8be41874890147e8195d24 --- fatal/string/rope.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fatal/string/rope.h b/fatal/string/rope.h index 8cdcd1a0..4b1af609 100644 --- a/fatal/string/rope.h +++ b/fatal/string/rope.h @@ -1172,7 +1172,7 @@ struct rope { } else { break; } - }; + } return begin; } @@ -1500,7 +1500,7 @@ struct rope { auto const off = static_cast(std::distance(ref.begin(), j)); return const_iterator(this, std::addressof(pieces_[i]), i, off); } - }; + } return cend(); }