No need to std::move a return value. Thanks Billiard.

This commit is contained in:
comex 2013-09-26 21:15:35 -04:00
parent 4542b9fcbb
commit bea76ac129
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ std::vector<u32> 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;
}

View File

@ -106,7 +106,7 @@ std::vector<u32> 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)