mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
AchievementManager: fix -Wpessimizing-move warning
This commit is contained in:
parent
8a9a082c69
commit
a8fb4153d7
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ void AchievementManager::SetBackgroundExecutionAllowed(bool allowed)
|
|||
std::string AchievementManager::CalculateHash(const std::string& file_path)
|
||||
{
|
||||
char hash_result[33] = "0";
|
||||
GetInstance().m_loading_volume = std::move(DiscIO::CreateVolume(file_path));
|
||||
GetInstance().m_loading_volume = DiscIO::CreateVolume(file_path);
|
||||
rc_hash_filereader volume_reader{
|
||||
.open = &AchievementManager::FilereaderOpen,
|
||||
.seek = &AchievementManager::FilereaderSeek,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue