mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
cmVSSetupHelper: Use in-class member initialization
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user