Fix use of 0 instead of nullptr warning (#515)

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

View File

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