From ce3828ea3263c4e26f6af845d25a73f21e526326 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 23 Dec 2019 18:55:18 +0100 Subject: [PATCH 1/1] Unused code. --- src/mc/remote/Channel.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mc/remote/Channel.hpp b/src/mc/remote/Channel.hpp index 0acbf1590d..cd216b4c80 100644 --- a/src/mc/remote/Channel.hpp +++ b/src/mc/remote/Channel.hpp @@ -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 -- 2.20.1