mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Merge pull request #13095 from mitaclaw/ranges-modernization-6-n
Ranges Algorithms Modernization - N
This commit is contained in:
commit
d2a56b321f
13 changed files with 18 additions and 21 deletions
|
@ -1300,8 +1300,7 @@ void VolumeVerifier::Finish()
|
|||
{
|
||||
m_result.hashes.crc32 = std::vector<u8>(4);
|
||||
const u32 crc32_be = Common::swap32(m_crc32_context);
|
||||
const u8* crc32_be_ptr = reinterpret_cast<const u8*>(&crc32_be);
|
||||
std::copy(crc32_be_ptr, crc32_be_ptr + 4, m_result.hashes.crc32.begin());
|
||||
std::memcpy(m_result.hashes.crc32.data(), &crc32_be, 4);
|
||||
}
|
||||
|
||||
if (m_hashes_to_calculate.md5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue