Commit d548994a authored by Brad King's avatar Brad King
Browse files

cmVSSetupHelper: Use in-class member initialization

parent ef5e2e8a
...@@ -107,16 +107,11 @@ struct VSInstanceInfo ...@@ -107,16 +107,11 @@ struct VSInstanceInfo
std::wstring InstanceId; std::wstring InstanceId;
std::wstring VSInstallLocation; std::wstring VSInstallLocation;
std::wstring Version; std::wstring Version;
ULONGLONG ullVersion; ULONGLONG ullVersion = 0;
bool IsWin10SDKInstalled; bool IsWin10SDKInstalled = false;
bool IsWin81SDKInstalled; bool IsWin81SDKInstalled = false;
VSInstanceInfo() VSInstanceInfo() = default;
{
InstanceId = VSInstallLocation = Version = L"";
ullVersion = 0;
IsWin10SDKInstalled = IsWin81SDKInstalled = false;
}
std::string GetInstallLocation() const; std::string GetInstallLocation() const;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment