diff options
-rw-r--r-- | include/gsl/span | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/gsl/span b/include/gsl/span index 4413a4d..4d5bc7c 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -706,14 +706,11 @@ private: template <class OtherExtentType> constexpr storage_type(KnownNotNull data, OtherExtentType ext) : ExtentType(ext), data_(data.p) - { - Expects(ExtentType::size() != dynamic_extent); - } + {} template <class OtherExtentType> constexpr storage_type(pointer data, OtherExtentType ext) : ExtentType(ext), data_(data) { - Expects(ExtentType::size() != dynamic_extent); Expects(data || ExtentType::size() == 0); } |