diff --git a/src/windows/common/WSLAContainerLauncher.cpp b/src/windows/common/WSLAContainerLauncher.cpp index 31090f9bb..a6e8bd67c 100644 --- a/src/windows/common/WSLAContainerLauncher.cpp +++ b/src/windows/common/WSLAContainerLauncher.cpp @@ -17,8 +17,8 @@ using wsl::windows::common::ClientRunningWSLAProcess; using wsl::windows::common::RunningWSLAContainer; using wsl::windows::common::WSLAContainerLauncher; -RunningWSLAContainer::RunningWSLAContainer(wil::com_ptr&& Container, std::vector&& fds) : - m_container(std::move(Container)), m_fds(std::move(fds)) +RunningWSLAContainer::RunningWSLAContainer(wil::com_ptr&& Container, std::vector&& Fds) : + m_container(std::move(Container)), m_fds(std::move(Fds)) { } @@ -48,9 +48,9 @@ WSLAContainerLauncher::WSLAContainerLauncher( const std::string& EntryPoint, const std::vector& Arguments, const std::vector& Environment, - WSLA_CONTAINER_NETWORK_TYPE containerNetworkType, + WSLA_CONTAINER_NETWORK_TYPE ContainerNetworkType, ProcessFlags Flags) : - WSLAProcessLauncher(EntryPoint, Arguments, Environment, Flags), m_image(Image), m_name(Name), m_containerNetworkType(containerNetworkType) + WSLAProcessLauncher(EntryPoint, Arguments, Environment, Flags), m_image(Image), m_name(Name), m_containerNetworkType(ContainerNetworkType) { } diff --git a/src/windows/common/WSLAContainerLauncher.h b/src/windows/common/WSLAContainerLauncher.h index ef79ae874..35990c5c9 100644 --- a/src/windows/common/WSLAContainerLauncher.h +++ b/src/windows/common/WSLAContainerLauncher.h @@ -22,7 +22,7 @@ class RunningWSLAContainer public: NON_COPYABLE(RunningWSLAContainer); DEFAULT_MOVABLE(RunningWSLAContainer); - RunningWSLAContainer(wil::com_ptr&& Container, std::vector&& fds); + RunningWSLAContainer(wil::com_ptr&& Container, std::vector&& Fds); IWSLAContainer& Get(); WSLA_CONTAINER_STATE State(); @@ -45,7 +45,7 @@ class WSLAContainerLauncher : private WSLAProcessLauncher const std::string& EntryPoint = "", const std::vector& Arguments = {}, const std::vector& Environment = {}, - WSLA_CONTAINER_NETWORK_TYPE containerNetworkType = WSLA_CONTAINER_NETWORK_TYPE::WSLA_CONTAINER_NETWORK_HOST, + WSLA_CONTAINER_NETWORK_TYPE ContainerNetworkType = WSLA_CONTAINER_NETWORK_TYPE::WSLA_CONTAINER_NETWORK_HOST, ProcessFlags Flags = ProcessFlags::Stdout | ProcessFlags::Stderr); void AddVolume(const std::string& HostPath, const std::string& ContainerPath, bool ReadOnly);