try to fix windows build error
This commit is contained in:
parent
34630f935d
commit
7e5a1bb6b9
1 changed files with 2 additions and 2 deletions
|
@ -50,14 +50,14 @@ inline int Vector::add(void* p)
|
||||||
|
|
||||||
inline void* Vector::get(int i) const
|
inline void* Vector::get(int i) const
|
||||||
{
|
{
|
||||||
assert(i >= 0 and i < _sz);
|
assert((i >= 0) && (i < _sz));
|
||||||
return _array[i];
|
return _array[i];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void Vector::set(int i, void* p)
|
inline void Vector::set(int i, void* p)
|
||||||
{
|
{
|
||||||
assert(i >= 0 and i < _sz);
|
assert((i >= 0) && (i < _sz));
|
||||||
_array[i] = p;
|
_array[i] = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue