summaryrefslogtreecommitdiffstats
path: root/libtransport/src
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/src')
-rw-r--r--libtransport/src/hicn/transport/utils/min_filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/utils/min_filter.h b/libtransport/src/hicn/transport/utils/min_filter.h
index acb081edc..dcfd5652d 100644
--- a/libtransport/src/hicn/transport/utils/min_filter.h
+++ b/libtransport/src/hicn/transport/utils/min_filter.h
@@ -35,7 +35,7 @@ class MinFilter {
template <typename R>
TRANSPORT_ALWAYS_INLINE void pushBack(R&& value) {
- if (by_arrival_.size() > size_) {
+ if (by_arrival_.size() >= size_) {
by_order_.erase(by_arrival_.back());
by_arrival_.pop_back();
}