diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-08-28 17:35:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-08-28 17:35:05 +0200 |
commit | 5b62a43349da6fda13fb33e0f1ec477c21daec8f (patch) | |
tree | 20ccaa25b57e27c631925c8f34b9d4a56026a797 /drawinglayer | |
parent | 3ba67ff4b110635bae9552d1d895443a9df5e3e2 (diff) |
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.
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/animation/animationtiming.cxx | 4 |
1 files 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 |