[Libreoffice-commits] core.git: drawinglayer/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Aug 28 15:36:56 UTC 2018
drawinglayer/source/animation/animationtiming.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5b62a43349da6fda13fb33e0f1ec477c21daec8f
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Aug 28 17:35:05 2018 +0200
Commit: Stephan Bergmann <sbergman at 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
More information about the Libreoffice-commits
mailing list