Fix: wrong size check

This fixes a bad mistake by myself. Thanks Lukas Tönne for telling me.
This commit is contained in:
Jacques Lucke 2021-06-15 10:26:10 +02:00
parent 462bd81399
commit 9cd2e80d5d
1 changed files with 1 additions and 1 deletions

View File

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