Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
No need to std::move a return value. Thanks Billiard.
  • Loading branch information
comex committed Sep 27, 2013
1 parent 4542b9f commit bea76ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/DiscIO/Src/BannerLoaderGC.cpp
Expand Up @@ -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;
}


Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DiscIO/Src/BannerLoaderWii.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit bea76ac

Please sign in to comment.