mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fix use of 0 instead of nullptr warning (#515)
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user