Fix recent commits
This commit is contained in:
parent
0328a1ce41
commit
9714e114b8
|
@ -347,7 +347,7 @@ struct UnsizedArrayOf
|
||||||
}
|
}
|
||||||
inline Type& operator [] (unsigned int i)
|
inline Type& operator [] (unsigned int i)
|
||||||
{
|
{
|
||||||
const Type *p = &arrayZ[i];
|
Type *p = &arrayZ[i];
|
||||||
if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */
|
if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */
|
||||||
return *p;
|
return *p;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue