1
0
mirror of https://github.com/microsoft/GSL.git synced 2025-04-26 02:45:32 -04:00

Fix use of 0 instead of nullptr warning ()

This commit is contained in:
Gary Furnish 2017-05-30 10:57:45 -06:00 committed by Neil MacIntosh
parent 7abfc98198
commit d1032864aa

@ -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);