From 5b62a43349da6fda13fb33e0f1ec477c21daec8f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Aug 2018 17:35:05 +0200 Subject: Revert "-Werror=redundant-move" This reverts commit 3ba67ff4b110635bae9552d1d895443a9df5e3e2. Turns out GCC 4.8 fights GCC 9 here, so needs a more elaborate fix. Sorry for the noise. --- drawinglayer/source/animation/animationtiming.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drawinglayer/source/animation/animationtiming.cxx b/drawinglayer/source/animation/animationtiming.cxx index 4bcc3ffa5f5b..db629aa8d31f 100644 --- a/drawinglayer/source/animation/animationtiming.cxx +++ b/drawinglayer/source/animation/animationtiming.cxx @@ -190,7 +190,7 @@ namespace drawinglayer pNew->append(*i); } - return pNew; + return std::move(pNew); } bool AnimationEntryList::operator==(const AnimationEntry& rCandidate) const @@ -283,7 +283,7 @@ namespace drawinglayer pNew->append(*i); } - return pNew; + return std::move(pNew); } bool AnimationEntryLoop::operator==(const AnimationEntry& rCandidate) const -- cgit