mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 17:47:59 -06:00
Fix WslDistributionConfig to not default-initialize FeatureFlags or NetworkingMode optional fields (#13629)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
This commit is contained in:
parent
2715a79fb4
commit
a231b6b5f9
@ -84,8 +84,8 @@ struct WslDistributionConfig
|
||||
//
|
||||
|
||||
bool GuiAppsEnabled = false;
|
||||
std::optional<int> FeatureFlags = 0;
|
||||
std::optional<LX_MINI_INIT_NETWORKING_MODE> NetworkingMode = LxMiniInitNetworkingModeNone;
|
||||
std::optional<int> FeatureFlags;
|
||||
std::optional<LX_MINI_INIT_NETWORKING_MODE> NetworkingMode;
|
||||
std::optional<std::string> VmId;
|
||||
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user