Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions subprocess.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,10 @@ class Communication
public:
Communication(Streams* stream): stream_(stream)
{}
void operator=(const Communication&) = delete;
Communication(const Communication&) = delete;
Communication& operator=(const Communication&) = delete;
Communication(Communication&&) = default;
Communication& operator=(Communication&&) = default;
public:
int send(const char* msg, size_t length);
int send(const std::vector<char>& msg);
Expand Down Expand Up @@ -1094,7 +1097,10 @@ class Streams
{
public:
Streams():comm_(this) {}
void operator=(const Streams&) = delete;
Streams(const Streams&) = delete;
Streams& operator=(const Streams&) = delete;
Streams(Streams&&) = default;
Streams& operator=(Streams&&) = default;

public:
void setup_comm_channels();
Expand Down