YASIM member initialization in class Vector
This commit is contained in:
parent
1194b09525
commit
030403db5f
1 changed files with 3 additions and 3 deletions
|
@ -21,9 +21,9 @@ public:
|
||||||
private:
|
private:
|
||||||
void realloc();
|
void realloc();
|
||||||
|
|
||||||
int _nelem;
|
int _nelem {0};
|
||||||
int _sz;
|
int _sz {0};
|
||||||
void** _array;
|
void** _array {nullptr};
|
||||||
};
|
};
|
||||||
|
|
||||||
inline Vector::Vector()
|
inline Vector::Vector()
|
||||||
|
|
Loading…
Reference in a new issue