From 971eb737c1c59805dfd42c71c96274d48a3d91ea 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