diff --git a/.gitignore b/.gitignore index c2361092a..ad5b2ee10 100644 --- a/.gitignore +++ b/.gitignore @@ -64,4 +64,5 @@ package/x64 tools/clang-format.exe /linux-crashes doc/site/ -directory.build.targets \ No newline at end of file +directory.build.targets +_codeql_detected_source_root \ No newline at end of file diff --git a/src/windows/common/WSLAContainerLauncher.cpp b/src/windows/common/WSLAContainerLauncher.cpp index 31090f9bb..d355845d8 100644 --- a/src/windows/common/WSLAContainerLauncher.cpp +++ b/src/windows/common/WSLAContainerLauncher.cpp @@ -61,7 +61,7 @@ std::pair> WSLAContainerLauncher::L options.Name = m_name.c_str(); auto [processOptions, commandLinePtrs, environmentPtrs] = CreateProcessOptions(); options.InitProcessOptions = processOptions; - options.ContainerNetwork.ContainerNetworkType = static_cast(m_containerNetworkType); + options.ContainerNetwork.ContainerNetworkType = m_containerNetworkType; if (m_executable.empty()) {