tdf#157664 Remove redundant operator!= from
ODsnTypeCollection::TypeIterator C++20 automatically generates operator!= when operator== is available. This operator was a trivial negation and is safe to remove. Signed-off-by: Gilma Sebastian <sebastiangilma9@gmail.com> Change-Id: I492b6162dc451ab0966e81e937632957506c1a7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194848 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
This commit is contained in:
committed by
Ilmari Lauhakangas
parent
6650e2cf48
commit
f93ce2d54e
@@ -191,7 +191,6 @@ class UNLESS_MERGELIBS_MORE(OOO_DLLPUBLIC_DBA) ODsnTypeCollection::TypeIterator
|
||||
friend class ODsnTypeCollection;
|
||||
|
||||
friend bool OOO_DLLPUBLIC_DBA operator==(const TypeIterator& lhs, const TypeIterator& rhs);
|
||||
friend bool OOO_DLLPUBLIC_DBA operator!=(const TypeIterator& lhs, const TypeIterator& rhs) { return !(lhs == rhs); }
|
||||
|
||||
protected:
|
||||
const ODsnTypeCollection* m_pContainer;
|
||||
|
||||
Reference in New Issue
Block a user