[vlmc-devel] Clip: Remove unrequired std::move
Hugo Beauzée-Luyssen
git at videolan.org
Fri Aug 19 11:56:24 CEST 2016
vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Aug 19 11:56:03 2016 +0200| [dee2915f69a46292b04b43e4d2c4a76acaecf771] | committer: Hugo Beauzée-Luyssen
Clip: Remove unrequired std::move
The return value of a function is already an rvalue
> https://code.videolan.org/videolan/vlmc/commit/dee2915f69a46292b04b43e4d2c4a76acaecf771
---
src/Media/Clip.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Media/Clip.cpp b/src/Media/Clip.cpp
index a605677..43841ae 100644
--- a/src/Media/Clip.cpp
+++ b/src/Media/Clip.cpp
@@ -43,7 +43,7 @@ Clip::Clip( QSharedPointer<Media> media, qint64 begin /*= 0*/, qint64 end /*= Ba
//FIXME: uuid -> QString conversion should be removed, since the helper stores the UUID as a QUuid
Workflow::Helper( uuid.toString() ),
m_media( media ),
- m_input( std::move( media->input()->cut( begin, end ) ) ),
+ m_input( media->input()->cut( begin, end ) ),
m_isLinked( false )
{
Formats f;
More information about the Vlmc-devel
mailing list