Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unused code.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 23 Dec 2019 17:55:18 +0000 (18:55 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 23 Dec 2019 18:05:55 +0000 (19:05 +0100)
src/mc/remote/Channel.hpp

index 0acbf15..cd216b4 100644 (file)
@@ -26,7 +26,6 @@ class Channel {
   }
 
 public:
-  Channel() = default;
   explicit Channel(int sock) : socket_(sock) {}
   ~Channel();
 
@@ -34,14 +33,6 @@ public:
   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