Skip to content
Snippets Groups Projects
Commit d548994a authored by Brad King's avatar Brad King
Browse files

cmVSSetupHelper: Use in-class member initialization

parent ef5e2e8a
No related branches found
No related tags found
1 merge request!2162VS: Allow toolset version selection to specify default toolset
......@@ -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;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment