diff options
author | beinhaerter <34543625+beinhaerter@users.noreply.github.com> | 2018-11-28 20:57:43 +0100 |
---|---|---|
committer | Anna Gringauze <annagrin@microsoft.com> | 2018-11-28 11:57:43 -0800 |
commit | 88aca1caf3a6fdb4ce387d5ccb5efac47530e1b8 (patch) | |
tree | d3fed9579e452be4409b42c14d106c64c5f464c2 /include/gsl | |
parent | 2e4d0d7e22247793a70caccd5926d3431688b59b (diff) | |
download | platform_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)
Diffstat (limited to 'include/gsl')
-rw-r--r-- | include/gsl/span | 2 |
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: // |