diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/base/numerics/safe_conversions_impl.h | 2 | ||||
-rw-r--r-- | third_party/base/numerics/safe_math.h | 2 |
2 files changed, 2 insertions, 2 deletions
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<BigType>(static_cast<R>(rhs))) // Let the template functions figure it out for mixed types. : C<L, R>::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<M>(lhs, rhs); return tmp.IsValid() ? ChkMathOp<M>(tmp, args...) : decltype(ChkMathOp<M>(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 |