From c45bfc4379999a62fcaca7ff02246274ce5a8877 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 24 Jul 2019 16:46:29 -0700 Subject: [PATCH] ircd::m::id::buf: Remove misleading move semantic. --- include/ircd/m/id.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/ircd/m/id.h b/include/ircd/m/id.h index aab65e6a6..da09d4605 100644 --- a/include/ircd/m/id.h +++ b/include/ircd/m/id.h @@ -370,15 +370,4 @@ struct ircd::m::id::buf return *this; } - - buf &operator=(buf &&other) noexcept - { - this->~buf(); - static_cast(*this) = - { - b.data(), buffer::copy(b, string_view{other}) - }; - - return *this; - } };