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
std::wstring InstanceId;
std::wstring VSInstallLocation;
std::wstring Version;
ULONGLONG ullVersion;
bool IsWin10SDKInstalled;
bool IsWin81SDKInstalled;
ULONGLONG ullVersion = 0;
bool IsWin10SDKInstalled = false;
bool IsWin81SDKInstalled = false;
VSInstanceInfo()
{
InstanceId = VSInstallLocation = Version = L"";
ullVersion = 0;
IsWin10SDKInstalled = IsWin81SDKInstalled = false;
}
VSInstanceInfo() = default;
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