mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[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:
@@ -102,7 +102,7 @@ namespace JsonUtils
|
||||
|
||||
struct CustomLayoutJSON
|
||||
{
|
||||
GUID layoutId;
|
||||
GUID layoutId{};
|
||||
FancyZonesDataTypes::CustomLayoutData data;
|
||||
|
||||
static std::optional<CustomLayoutJSON> FromJson(const json::JsonObject& json)
|
||||
|
||||
Reference in New Issue
Block a user