A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unused code.
[simgrid.git]
/
src
/
mc
/
remote
/
Channel.hpp
diff --git
a/src/mc/remote/Channel.hpp
b/src/mc/remote/Channel.hpp
index
0acbf15
..
cd216b4
100644
(file)
--- a/
src/mc/remote/Channel.hpp
+++ b/
src/mc/remote/Channel.hpp
@@
-26,7
+26,6
@@
class Channel {
}
public:
}
public:
- Channel() = default;
explicit Channel(int sock) : socket_(sock) {}
~Channel();
explicit Channel(int sock) : socket_(sock) {}
~Channel();
@@
-34,14
+33,6
@@
public:
Channel(Channel const&) = delete;
Channel& operator=(Channel const&) = delete;
Channel(Channel const&) = delete;
Channel& operator=(Channel const&) = delete;
- // Move:
- Channel(Channel&& that) : socket_(that.socket_) { that.socket_ = -1; }
- Channel& operator=(Channel&& that)
- {
- std::swap(this->socket_, that.socket_);
- return *this;
- }
-
// Send
int send(const void* message, size_t size) const;
int send(e_mc_message_type type) const
// Send
int send(const void* message, size_t size) const;
int send(e_mc_message_type type) const