diff options
author | Gary Furnish <gfurnish@gfurnish.net> | 2017-05-30 10:57:45 -0600 |
---|---|---|
committer | Neil MacIntosh <neilmac@microsoft.com> | 2017-05-30 09:57:45 -0700 |
commit | d1032864aa3c44f68c51e62c12ebafa899eb78ab (patch) | |
tree | 9170dceff31f67fb05db4ebf9361cb2ec4323b6f | |
parent | 7abfc981982fc882230bccc8b27c3545f27e236a (diff) | |
download | platform_external_Microsoft-GSL-d1032864aa3c44f68c51e62c12ebafa899eb78ab.tar.gz platform_external_Microsoft-GSL-d1032864aa3c44f68c51e62c12ebafa899eb78ab.tar.bz2 platform_external_Microsoft-GSL-d1032864aa3c44f68c51e62c12ebafa899eb78ab.zip |
Fix use of 0 instead of nullptr warning (#515)
-rw-r--r-- | include/gsl/multi_span | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gsl/multi_span b/include/gsl/multi_span index 319aded..6aeabc8 100644 --- a/include/gsl/multi_span +++ b/include/gsl/multi_span @@ -1993,7 +1993,7 @@ private: } template <bool Enabled = (Rank == 1), typename Dummy = std::enable_if_t<Enabled>> - static index_type resize_stride(const index_type& strides, std::ptrdiff_t, void* = 0) + static index_type resize_stride(const index_type& strides, std::ptrdiff_t, void* = nullptr) { // Only strided arrays with regular strides can be resized Expects(strides[Rank - 1] == 1); |