From bea76ac129e6e918e98a0defdd1dda1d844c216c Mon Sep 17 00:00:00 2001 From: comex Date: Thu, 26 Sep 2013 21:15:35 -0400 Subject: [PATCH] No need to std::move a return value. Thanks Billiard. --- Source/Core/DiscIO/Src/BannerLoaderGC.cpp | 2 +- Source/Core/DiscIO/Src/BannerLoaderWii.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp index cbe09c5804..a4f07c5fdc 100644 --- a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp +++ b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp @@ -58,7 +58,7 @@ std::vector CBannerLoaderGC::GetBanner(int* pWidth, int* pHeight) decode5A3image(&Buffer[0], pBanner->image, DVD_BANNER_WIDTH, DVD_BANNER_HEIGHT); *pWidth = DVD_BANNER_WIDTH; *pHeight = DVD_BANNER_HEIGHT; - return std::move(Buffer); + return Buffer; } diff --git a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp index 915ce4debc..a3b7f56172 100644 --- a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp +++ b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp @@ -106,7 +106,7 @@ std::vector CBannerLoaderWii::GetBanner(int* pWidth, int* pHeight) decode5A3image(&Buffer[0], (u16*)pBanner->m_BannerTexture, 192, 64); *pWidth = 192; *pHeight = 64; - return std::move(Buffer); + return Buffer; } bool CBannerLoaderWii::GetStringFromComments(const CommentIndex index, std::string& result)