summaryrefslogtreecommitdiff
path: root/core/dvector.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2018-10-03 13:40:37 -0400
committerAaron Franke <arnfranke@yahoo.com>2018-10-06 16:12:36 -0400
commit37386f112bafa9c4e94c342f6d5f04392a5623f7 (patch)
tree23870a98dd815447693154dedcb054e88a20e694 /core/dvector.h
parentffe94ef4e2dc28e69337f53f58d0fa60e23607a8 (diff)
Remove redundant "== true" code
If it can be compared to a boolean, it can be evaluated as one in-place.
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 0d0848a19a..f6e311f04f 100644
--- a/core/dvector.h
+++ b/core/dvector.h
@@ -149,7 +149,7 @@ class PoolVector {
}
}
- if (old_alloc->refcount.unref() == true) {
+ if (old_alloc->refcount.unref()) {
//this should never happen but..
#ifdef DEBUG_ENABLED