From c065d883d995700b6cb5a00bd027232afded7ae5 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 2 Oct 2017 14:29:08 -0400 Subject: Remove extraneous ;s Bug: pdfium:912 Change-Id: Iea61260ccc972627950b470a44ab21dbd2b4045b Reviewed-on: https://pdfium-review.googlesource.com/15170 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- third_party/base/numerics/safe_conversions_impl.h | 2 +- third_party/base/numerics/safe_math.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party') diff --git a/third_party/base/numerics/safe_conversions_impl.h b/third_party/base/numerics/safe_conversions_impl.h index 2a7ce146e3..2735c1ea72 100644 --- a/third_party/base/numerics/safe_conversions_impl.h +++ b/third_party/base/numerics/safe_conversions_impl.h @@ -725,7 +725,7 @@ constexpr bool SafeCompare(const L lhs, const R rhs) { static_cast(static_cast(rhs))) // Let the template functions figure it out for mixed types. : C::Test(lhs, rhs); -}; +} } // namespace internal } // namespace base diff --git a/third_party/base/numerics/safe_math.h b/third_party/base/numerics/safe_math.h index a0c41a467b..8574fdd595 100644 --- a/third_party/base/numerics/safe_math.h +++ b/third_party/base/numerics/safe_math.h @@ -419,7 +419,7 @@ ChkMathOp(const L lhs, const R rhs, const Args... args) { auto tmp = ChkMathOp(lhs, rhs); return tmp.IsValid() ? ChkMathOp(tmp, args...) : decltype(ChkMathOp(tmp, args...))(tmp); -}; +} // The following macros are just boilerplate for the standard arithmetic // operator overloads and variadic function templates. A macro isn't the nicest -- cgit v1.2.3