mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-30 05:52:02 +02:00
No need to std::move a return value. Thanks Billiard.
This commit is contained in:
parent
4542b9fcbb
commit
bea76ac129
@ -58,7 +58,7 @@ std::vector<u32> CBannerLoaderGC::GetBanner(int* pWidth, int* pHeight)
|
|||||||
decode5A3image(&Buffer[0], pBanner->image, DVD_BANNER_WIDTH, DVD_BANNER_HEIGHT);
|
decode5A3image(&Buffer[0], pBanner->image, DVD_BANNER_WIDTH, DVD_BANNER_HEIGHT);
|
||||||
*pWidth = DVD_BANNER_WIDTH;
|
*pWidth = DVD_BANNER_WIDTH;
|
||||||
*pHeight = DVD_BANNER_HEIGHT;
|
*pHeight = DVD_BANNER_HEIGHT;
|
||||||
return std::move(Buffer);
|
return Buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ std::vector<u32> CBannerLoaderWii::GetBanner(int* pWidth, int* pHeight)
|
|||||||
decode5A3image(&Buffer[0], (u16*)pBanner->m_BannerTexture, 192, 64);
|
decode5A3image(&Buffer[0], (u16*)pBanner->m_BannerTexture, 192, 64);
|
||||||
*pWidth = 192;
|
*pWidth = 192;
|
||||||
*pHeight = 64;
|
*pHeight = 64;
|
||||||
return std::move(Buffer);
|
return Buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CBannerLoaderWii::GetStringFromComments(const CommentIndex index, std::string& result)
|
bool CBannerLoaderWii::GetStringFromComments(const CommentIndex index, std::string& result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user