From 4df226b50be499bbf757192ed6a576d39af725be Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Mon, 4 Dec 2023 13:41:34 -0500 Subject: [PATCH] Remove template args on TLinkList::const_iterator comparison operators --- include/JSystem/JGadget/linklist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/JSystem/JGadget/linklist.h b/include/JSystem/JGadget/linklist.h index ac44fba0..764830e7 100644 --- a/include/JSystem/JGadget/linklist.h +++ b/include/JSystem/JGadget/linklist.h @@ -217,8 +217,8 @@ public: public: const_iterator(TNodeLinkList::const_iterator it) : mIt(it) { } - friend bool operator== (const_iterator lhs, const_iterator rhs) { return (lhs.mIt == rhs.mIt); } - friend bool operator!= (const_iterator lhs, const_iterator rhs) { return !(lhs == rhs); } + friend bool operator==(const_iterator lhs, const_iterator rhs) { return (lhs.mIt == rhs.mIt); } + friend bool operator!=(const_iterator lhs, const_iterator rhs) { return !(lhs == rhs); } const_iterator& operator++() { ++mIt;