include/cppuhelper/weakref.hxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit a2f767b436e8bd0cb0b6d974d9236a1b448ed8aa
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri Feb 11 14:24:33 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Feb 15 10:32:42 2022 +0100

    remove not-so-useful move operator from uno::WeakReference
    
    I messed up when I added
    
        commit a0ebc6f898992dbc0da9f252911da867dfdfd741
        Date:   Sat Nov 9 08:47:48 2019 +0200
        missing move operator=
    
    which is not a real move operator because it has the wrong type in it's
    parameter list, and doesn't actually do anything useful as a
    consequence.
    
    Change-Id: I7bd3d41d6ed98deecd143b1e1bb64870530dab03
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129816
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/cppuhelper/weakref.hxx b/include/cppuhelper/weakref.hxx
index fa1009494510..9b41df598340 100644
--- a/include/cppuhelper/weakref.hxx
+++ b/include/cppuhelper/weakref.hxx
@@ -176,12 +176,6 @@ public:
             const css::uno::Reference< interface_type > & xInt )
         { WeakReferenceHelper::operator=(xInt); return *this; }
 
-#if defined LIBO_INTERNAL_ONLY
-    WeakReference & operator = (
-            css::uno::Reference< interface_type > && xInt )
-        { WeakReferenceHelper::operator=(std::move(xInt)); return *this; }
-#endif
-
     /**  Gets a hard reference to the object.
 
          @return hard reference or null, if the weakly referenced interface 
has gone

Reply via email to