diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/base/numerics/safe_math.h | 2 | ||||
-rw-r--r-- | third_party/base/optional.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/base/numerics/safe_math.h b/third_party/base/numerics/safe_math.h index 8574fdd595..f24ba024eb 100644 --- a/third_party/base/numerics/safe_math.h +++ b/third_party/base/numerics/safe_math.h @@ -100,7 +100,7 @@ class CheckedNumeric { public: using type = T; - constexpr CheckedNumeric() {} + constexpr CheckedNumeric() = default; // Copy constructor. template <typename Src> diff --git a/third_party/base/optional.h b/third_party/base/optional.h index 4cf91e9b2b..ae25724e73 100644 --- a/third_party/base/optional.h +++ b/third_party/base/optional.h @@ -120,7 +120,7 @@ class Optional { public: using value_type = T; - constexpr Optional() {} + constexpr Optional() = default; constexpr Optional(nullopt_t) {} |