drawinglayer/source/animation/animationtiming.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5b62a43349da6fda13fb33e0f1ec477c21daec8f Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Aug 28 17:35:05 2018 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Aug 28 17:35:05 2018 +0200 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. 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits