mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
DiscIO/VolumeVerifier: In-class initialize members where applicable
Removes redundant initializers from the constructor and provides initializers for all members that don't already have one for consistency (and deterministic initial state).
This commit is contained in:
parent
52eb2d0d82
commit
fa57396e97
2 changed files with 11 additions and 11 deletions
|
@ -50,7 +50,7 @@ VolumeVerifier::VolumeVerifier(const Volume& volume, Hashes<bool> hashes_to_calc
|
|||
: m_volume(volume), m_hashes_to_calculate(hashes_to_calculate),
|
||||
m_calculating_any_hash(hashes_to_calculate.crc32 || hashes_to_calculate.md5 ||
|
||||
hashes_to_calculate.sha1),
|
||||
m_started(false), m_done(false), m_progress(0), m_max_progress(volume.GetSize())
|
||||
m_max_progress(volume.GetSize())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue