diff options
-rw-r--r-- | core/fxcrt/fx_system.h | 2 | ||||
-rw-r--r-- | third_party/base/numerics/safe_conversions_impl.h | 2 | ||||
-rw-r--r-- | third_party/base/numerics/safe_math.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h index aa9b8490f9..8e2957bc98 100644 --- a/core/fxcrt/fx_system.h +++ b/core/fxcrt/fx_system.h @@ -213,7 +213,7 @@ const char* FXSYS_i64toa(int64_t value, char* str, int radix); int FXSYS_round(float f); #define FXSYS_sqrt2(a, b) (float)sqrt((a) * (a) + (b) * (b)) #ifdef __cplusplus -}; // extern C +} // extern C #endif // __cplusplus // To print a size_t value in a portable way: 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 |