mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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:
@ -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())
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user