From 04baf07416aefe7afccec8e45e620bf16643eadb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 3 May 2016 17:14:46 +0200 Subject: [PATCH] -Werror,-Wpessimizing-move Change-Id: Ic20ae0c0534220a2613b73a2bd2e1aa277aecce9 --- filter/source/config/cache/filtercache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 016dbc303562..32e9259177ef 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -145,7 +145,7 @@ std::unique_ptr FilterCache::clone() const pClone->m_lChangedFrameLoaders = m_lChangedFrameLoaders; pClone->m_lChangedContentHandlers = m_lChangedContentHandlers; - return std::move(pClone); + return pClone; // <- SAFE ---------------------------------- }