aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Furnish <gfurnish@gfurnish.net>2017-05-30 10:57:45 -0600
committerNeil MacIntosh <neilmac@microsoft.com>2017-05-30 09:57:45 -0700
commitd1032864aa3c44f68c51e62c12ebafa899eb78ab (patch)
tree9170dceff31f67fb05db4ebf9361cb2ec4323b6f
parent7abfc981982fc882230bccc8b27c3545f27e236a (diff)
downloadplatform_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_span2
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);