Fix swapped parameters in memset call
This commit is contained in:
parent
0f94ea9208
commit
e796ecaa23
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ namespace Swig {
|
||||||
bool array_[N];
|
bool array_[N];
|
||||||
public:
|
public:
|
||||||
BoolArray() {
|
BoolArray() {
|
||||||
memset(array_, sizeof(array_), 0);
|
memset(array_, 0, sizeof(array_));
|
||||||
}
|
}
|
||||||
bool& operator[](size_t n) {
|
bool& operator[](size_t n) {
|
||||||
return array_[n];
|
return array_[n];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue