From c5da5e74093a4c5e91d0e7b09d7635f431bc5860 Mon Sep 17 00:00:00 2001 From: Werner Henze Date: Sun, 25 Feb 2018 18:33:05 +0100 Subject: [PATCH] =default --- include/gsl/multi_span | 2 +- include/gsl/span | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)