[Android] Remove useless calls to std::move in JNI
Nicolas Pomepuy
git at videolan.org
Thu Feb 24 10:58:19 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jan 14 08:09:21 2022 +0100| [dc204506e362e2f589fbb2c93ebce54a858a08a9] | committer: Nicolas Pomepuy
Remove useless calls to std::move in JNI
> https://code.videolan.org/videolan/vlc-android/commit/dc204506e362e2f589fbb2c93ebce54a858a08a9
---
medialibrary/jni/medialibrary.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/medialibrary/jni/medialibrary.cpp b/medialibrary/jni/medialibrary.cpp
index 7065240b4..7003b513f 100644
--- a/medialibrary/jni/medialibrary.cpp
+++ b/medialibrary/jni/medialibrary.cpp
@@ -105,7 +105,7 @@ bannedFolders(JNIEnv* env, jobject thiz)
for(medialibrary::FolderPtr& folder : folders) {
try
{
- mrls.push_back( std::move( folder->mrl() ) );
+ mrls.push_back( folder->mrl() );
}
catch ( const medialibrary::fs::errors::DeviceRemoved& )
{
@@ -207,7 +207,7 @@ entryPoints(JNIEnv* env, jobject thiz)
for(medialibrary::FolderPtr& entryPoint : entryPoints) {
try
{
- mrls.push_back( std::move( entryPoint->mrl() ) );
+ mrls.push_back( entryPoint->mrl() );
}
catch ( const medialibrary::fs::errors::DeviceRemoved& )
{
More information about the Android
mailing list