| Index: third_party/numerics/safe_math.h
|
| diff --git a/third_party/numerics/safe_math.h b/third_party/numerics/safe_math.h
|
| index 4b38ff2b1f018cb300377cfe12679e12330f0d84..13e24fc924a96aef0a9da0b7db62cf66069715f7 100644
|
| --- a/third_party/numerics/safe_math.h
|
| +++ b/third_party/numerics/safe_math.h
|
| @@ -110,11 +110,16 @@ class CheckedNumeric {
|
| T ValueUnsafe() const { return state_.value(); }
|
|
|
| // Prototypes for the supported arithmetic operator overloads.
|
| - template <typename Src> CheckedNumeric& operator+=(Src rhs);
|
| - template <typename Src> CheckedNumeric& operator-=(Src rhs);
|
| - template <typename Src> CheckedNumeric& operator*=(Src rhs);
|
| - template <typename Src> CheckedNumeric& operator/=(Src rhs);
|
| - template <typename Src> CheckedNumeric& operator%=(Src rhs);
|
| + template <typename Src>
|
| + CheckedNumeric& operator+=(Src rhs);
|
| + template <typename Src>
|
| + CheckedNumeric& operator-=(Src rhs);
|
| + template <typename Src>
|
| + CheckedNumeric& operator*=(Src rhs);
|
| + template <typename Src>
|
| + CheckedNumeric& operator/=(Src rhs);
|
| + template <typename Src>
|
| + CheckedNumeric& operator%=(Src rhs);
|
|
|
| CheckedNumeric operator-() const {
|
| RangeConstraint validity;
|
|
|