Kaydet (Commit) 5b62a433 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Revert "-Werror=redundant-move"

This reverts commit 3ba67ff4.  Turns out
GCC 4.8 fights GCC 9 here, so needs a more elaborate fix.  Sorry for the noise.
üst 3ba67ff4
...@@ -190,7 +190,7 @@ namespace drawinglayer ...@@ -190,7 +190,7 @@ namespace drawinglayer
pNew->append(*i); pNew->append(*i);
} }
return pNew; return std::move(pNew);
} }
bool AnimationEntryList::operator==(const AnimationEntry& rCandidate) const bool AnimationEntryList::operator==(const AnimationEntry& rCandidate) const
...@@ -283,7 +283,7 @@ namespace drawinglayer ...@@ -283,7 +283,7 @@ namespace drawinglayer
pNew->append(*i); pNew->append(*i);
} }
return pNew; return std::move(pNew);
} }
bool AnimationEntryLoop::operator==(const AnimationEntry& rCandidate) const bool AnimationEntryLoop::operator==(const AnimationEntry& rCandidate) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment