Fix: wrong size check
This fixes a bad mistake by myself. Thanks Lukas Tönne for telling me.
This commit is contained in:
parent
462bd81399
commit
9cd2e80d5d
|
@ -66,7 +66,7 @@ class GVArray {
|
|||
|
||||
bool is_empty() const
|
||||
{
|
||||
return size_;
|
||||
return size_ == 0;
|
||||
}
|
||||
|
||||
/* Copies the value at the given index into the provided storage. The `r_value` pointer is
|
||||
|
|
Loading…
Reference in New Issue