diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-11 14:24:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-15 10:32:42 +0100 |
commit | a2f767b436e8bd0cb0b6d974d9236a1b448ed8aa (patch) | |
tree | 447a3b47a6105628b7a209533f44859307df9a6b /include/cppuhelper | |
parent | 339d481688c4d12a05ae79611f7b1b17cfa2826b (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'include/cppuhelper')
-rw-r--r-- | include/cppuhelper/weakref.hxx | 6 |
1 files changed, 0 insertions, 6 deletions
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 |