diff --git a/include/gsl/multi_span b/include/gsl/multi_span index 65e65a1..c0f8129 100644 --- a/include/gsl/multi_span +++ b/include/gsl/multi_span @@ -99,7 +99,7 @@ public: using reference = std::add_lvalue_reference_t; using const_reference = std::add_lvalue_reference_t>; - constexpr multi_span_index() GSL_NOEXCEPT {} + constexpr multi_span_index() GSL_NOEXCEPT = default; constexpr multi_span_index(const value_type (&values)[Rank]) GSL_NOEXCEPT { diff --git a/include/gsl/span b/include/gsl/span index 36c8a8b..11a9bc9 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -276,7 +276,7 @@ namespace details static_assert(Ext >= 0, "A fixed-size span must be >= 0 in size."); - constexpr extent_type() GSL_NOEXCEPT {} + constexpr extent_type() GSL_NOEXCEPT = default; template constexpr extent_type(extent_type ext)