We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec08e4b commit 1758625Copy full SHA for 1758625
Include/PipeArrays.h
@@ -199,7 +199,7 @@ namespace p
199
{
200
#if P_DEBUG
201
P_CheckMsg(ptr, "Iterator is null");
202
- P_CheckMsg(range->Data() <= ptr && ptr < (range->Data() + range->Size()),
+ P_CheckMsg(range->Data() <= ptr && ptr <= (range->Data() + range->Size()),
203
"Iterator is out of range");
204
#endif
205
}
0 commit comments