From 2a469241b2a854632fcae6a85def62b40a39c306 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 20 Sep 2023 20:22:02 +0300 Subject: [PATCH] BAN: Fix LinkedList::pop_back() --- BAN/include/BAN/LinkedList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BAN/include/BAN/LinkedList.h b/BAN/include/BAN/LinkedList.h index a7cca31fe6..319a685c7d 100644 --- a/BAN/include/BAN/LinkedList.h +++ b/BAN/include/BAN/LinkedList.h @@ -195,7 +195,7 @@ namespace BAN template void LinkedList::pop_back() { - return remove(m_last); + remove(iterator(m_last, false)); } template