[Libreoffice-commits] core.git: filter/source

Stephan Bergmann sbergman at redhat.com
Tue May 3 15:15:13 UTC 2016


 filter/source/config/cache/filtercache.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04baf07416aefe7afccec8e45e620bf16643eadb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 3 17:14:46 2016 +0200

    -Werror,-Wpessimizing-move
    
    Change-Id: Ic20ae0c0534220a2613b73a2bd2e1aa277aecce9

diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 016dbc3..32e9259 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -145,7 +145,7 @@ std::unique_ptr<FilterCache> FilterCache::clone() const
     pClone->m_lChangedFrameLoaders       = m_lChangedFrameLoaders;
     pClone->m_lChangedContentHandlers    = m_lChangedContentHandlers;
 
-    return std::move(pClone);
+    return pClone;
     // <- SAFE ----------------------------------
 }
 


More information about the Libreoffice-commits mailing list