aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeinhaerter <34543625+beinhaerter@users.noreply.github.com>2018-11-28 20:57:43 +0100
committerAnna Gringauze <annagrin@microsoft.com>2018-11-28 11:57:43 -0800
commit88aca1caf3a6fdb4ce387d5ccb5efac47530e1b8 (patch)
treed3fed9579e452be4409b42c14d106c64c5f464c2
parent2e4d0d7e22247793a70caccd5926d3431688b59b (diff)
downloadplatform_external_Microsoft-GSL-88aca1caf3a6fdb4ce387d5ccb5efac47530e1b8.tar.gz
platform_external_Microsoft-GSL-88aca1caf3a6fdb4ce387d5ccb5efac47530e1b8.tar.bz2
platform_external_Microsoft-GSL-88aca1caf3a6fdb4ce387d5ccb5efac47530e1b8.zip
added noexcept to get rid off VC warning con.4 (#748)
-rw-r--r--include/gsl/span2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gsl/span b/include/gsl/span
index 54f5f6b..f0f7f1f 100644
--- a/include/gsl/span
+++ b/include/gsl/span
@@ -544,7 +544,7 @@ public:
#endif // _MSC_VER
private:
- static bool CheckRange(index_type idx, index_type size)
+ static bool CheckRange(index_type idx, index_type size) noexcept
{
// Optimization:
//