From d1032864aa3c44f68c51e62c12ebafa899eb78ab Mon Sep 17 00:00:00 2001 From: Gary Furnish Date: Tue, 30 May 2017 10:57:45 -0600 Subject: [PATCH] Fix use of 0 instead of nullptr warning (#515) --- include/gsl/multi_span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 > - 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);