Merge pull request #170 from Cuyler36/more_jgadget_linklist_fixes

Remove template args on TLinkList::const_iterator comparison operators
This commit is contained in:
Cuyler36
2023-12-04 13:41:58 -05:00
committed by GitHub
+2 -2
View File
@@ -217,8 +217,8 @@ public:
public:
const_iterator(TNodeLinkList::const_iterator it) : mIt(it) { }
friend bool operator== <T, O>(const_iterator lhs, const_iterator rhs) { return (lhs.mIt == rhs.mIt); }
friend bool operator!= <T, O>(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;