[Analyzers][CPP]Turn on C26495 and fix code (#21163)

C26495: A member variable isn't initialized by a constructor or by an initializer.
Fixing occurrences with default member initialization.
This commit is contained in:
sosssego
2022-10-18 15:21:18 +01:00
committed by GitHub
parent 17b80aa0f1
commit 16c28c788d
11 changed files with 47 additions and 43 deletions

View File

@@ -56,9 +56,9 @@ private:
bool HideToolbarWhenUnmuted = true;
uint64_t lastTimeCamOrMicMuteStateChanged;
uint64_t lastTimeCamOrMicMuteStateChanged{};
std::atomic_bool moduleSettingsUpdateScheduled = false;
std::atomic_bool generalSettingsUpdateScheduled = false;
UINT_PTR nTimerId;
UINT_PTR nTimerId{};
};