From 94c29674868965085352529ab8a4285d4e62deb5 Mon Sep 17 00:00:00 2001 From: Fabian Eckermann Date: Fri, 17 Dec 2021 15:01:50 +0100 Subject: [PATCH] Return correct iterator value. --- lib/include/srsran/asn1/asn1_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/include/srsran/asn1/asn1_utils.h b/lib/include/srsran/asn1/asn1_utils.h index 5065097ee..2485cda6e 100644 --- a/lib/include/srsran/asn1/asn1_utils.h +++ b/lib/include/srsran/asn1/asn1_utils.h @@ -254,7 +254,7 @@ public: std::copy(it + 1, end(), it); size_--; - return it + 1; + return it; } bool operator==(const dyn_array& other) const {