summaryrefslogtreecommitdiffstats
path: root/core/dvector.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/dvector.h')
-rw-r--r--core/dvector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dvector.h b/core/dvector.h
index f6e311f04f..2830c57ec0 100644
--- a/core/dvector.h
+++ b/core/dvector.h
@@ -209,7 +209,7 @@ class PoolVector {
if (!alloc)
return;
- if (alloc->refcount.unref() == false) {
+ if (!alloc->refcount.unref()) {
alloc = NULL;
return;
}