From 582ae8c87f938bee43222596d0561eb578c3d82c Mon Sep 17 00:00:00 2001 From: Vincent Isambart Date: Sat, 13 Aug 2016 10:15:59 +0900 Subject: [PATCH 1/2] Fix #323 - Badly positioned noexcept --- gsl/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsl/span b/gsl/span index 3b8318d..1dc4600 100644 --- a/gsl/span +++ b/gsl/span @@ -179,7 +179,7 @@ namespace details using pointer = std::add_pointer_t; using reference = std::add_lvalue_reference_t; - constexpr span_iterator() : span_iterator(nullptr, 0) noexcept {} + constexpr span_iterator() noexcept : span_iterator(nullptr, 0) {} constexpr span_iterator(const Span* span, typename Span::index_type index) : span_(span), index_(index) From 36d56ebcb3dd6dcd2ce4ae3825485a95ae3146b6 Mon Sep 17 00:00:00 2001 From: Vincent Isambart Date: Sat, 13 Aug 2016 10:16:59 +0900 Subject: [PATCH 2/2] Add missing newline at end of file --- gsl/gsl_byte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsl/gsl_byte b/gsl/gsl_byte index 5a9c327..cb096e7 100644 --- a/gsl/gsl_byte +++ b/gsl/gsl_byte @@ -122,4 +122,4 @@ constexpr IntegerType to_integer(byte b) noexcept #endif // _MSC_VER -#endif // GSL_BYTE_H \ No newline at end of file +#endif // GSL_BYTE_H