dbaccess/source/inc/dsntypes.hxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit f93ce2d54e2bdd2d3e9c81dd619dd3264c7116b5
Author:     sebastiangm15 <[email protected]>
AuthorDate: Mon Dec 1 02:37:37 2025 +0200
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Tue Dec 2 15:14:00 2025 +0100

    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 <[email protected]>
    Change-Id: I492b6162dc451ab0966e81e937632957506c1a7a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194848
    Reviewed-by: Ilmari Lauhakangas <[email protected]>
    Tested-by: Jenkins

diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx
index c6529ab6c34a..483dd6b40660 100644
--- a/dbaccess/source/inc/dsntypes.hxx
+++ b/dbaccess/source/inc/dsntypes.hxx
@@ -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;

Reply via email to