aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INFO.yaml2
-rw-r--r--libtransport/src/hicn/transport/utils/min_filter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/INFO.yaml b/INFO.yaml
index 258a674a0..30a00f793 100644
--- a/INFO.yaml
+++ b/INFO.yaml
@@ -59,7 +59,7 @@ committers:
timezone: ''
- name: 'Angelo Mantellini'
company: 'Cisco'
- email:'manangel@cisco.com'
+ email: 'manangel@cisco.com'
id: 'manang'
timezone: ''
tsc:
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();
}