1
0
Fork 0

try to fix windows build error

This commit is contained in:
Henning Stahlke 2017-12-20 08:25:49 +01:00 committed by Florent Rougon
parent 34630f935d
commit 7e5a1bb6b9

View file

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