Fix #323 - Badly positioned noexcept
This commit is contained in:
commit
93b3258e36
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -122,4 +122,4 @@ constexpr IntegerType to_integer(byte b) noexcept
|
||||
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // GSL_BYTE_H
|
||||
#endif // GSL_BYTE_H
|
||||
@@ -179,7 +179,7 @@ namespace details
|
||||
using pointer = std::add_pointer_t<value_type>;
|
||||
using reference = std::add_lvalue_reference_t<value_type>;
|
||||
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user