mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
cmUVProcessChain: Simplify builder initialization
This commit is contained in:
@@ -57,12 +57,7 @@ struct cmUVProcessChain::InternalData
|
||||
void Finish();
|
||||
};
|
||||
|
||||
cmUVProcessChainBuilder::cmUVProcessChainBuilder()
|
||||
{
|
||||
this->SetNoStream(Stream_INPUT)
|
||||
.SetNoStream(Stream_OUTPUT)
|
||||
.SetNoStream(Stream_ERROR);
|
||||
}
|
||||
cmUVProcessChainBuilder::cmUVProcessChainBuilder() = default;
|
||||
|
||||
cmUVProcessChainBuilder& cmUVProcessChainBuilder::AddCommand(
|
||||
const std::vector<std::string>& arguments)
|
||||
|
@@ -50,8 +50,8 @@ private:
|
||||
|
||||
struct StdioConfiguration
|
||||
{
|
||||
StdioType Type;
|
||||
int FileDescriptor;
|
||||
StdioType Type = None;
|
||||
int FileDescriptor = -1;
|
||||
};
|
||||
|
||||
struct ProcessConfiguration
|
||||
|
Reference in New Issue
Block a user