aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil MacIntosh <neilmac@microsoft.com>2016-08-15 11:25:43 -0700
committerGitHub <noreply@github.com>2016-08-15 11:25:43 -0700
commit93b3258e3688298278a43ba583cc08b856a4c615 (patch)
treed6958b10af780f4589c5fa85344e81e3e01acedf
parent90f47cca12fd99f7fb18215dd3d5b189671b51b9 (diff)
parent36d56ebcb3dd6dcd2ce4ae3825485a95ae3146b6 (diff)
downloadplatform_external_Microsoft-GSL-93b3258e3688298278a43ba583cc08b856a4c615.tar.gz
platform_external_Microsoft-GSL-93b3258e3688298278a43ba583cc08b856a4c615.tar.bz2
platform_external_Microsoft-GSL-93b3258e3688298278a43ba583cc08b856a4c615.zip
Fix #323 - Badly positioned noexcept
-rw-r--r--gsl/gsl_byte2
-rw-r--r--gsl/span2
2 files changed, 2 insertions, 2 deletions
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
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<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)