diff options
Diffstat (limited to 'protocols/Telegram/tdlib/td/tdutils/td/utils/SetNode.h')
-rw-r--r-- | protocols/Telegram/tdlib/td/tdutils/td/utils/SetNode.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Telegram/tdlib/td/tdutils/td/utils/SetNode.h b/protocols/Telegram/tdlib/td/tdutils/td/utils/SetNode.h index 6e5960553d..cbc218329c 100644 --- a/protocols/Telegram/tdlib/td/tdutils/td/utils/SetNode.h +++ b/protocols/Telegram/tdlib/td/tdutils/td/utils/SetNode.h @@ -1,5 +1,5 @@ // -// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022 +// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -34,8 +34,8 @@ struct SetNode { } explicit SetNode(KeyT key) : first(std::move(key)) { } - SetNode(const SetNode &other) = delete; - SetNode &operator=(const SetNode &other) = delete; + SetNode(const SetNode &) = delete; + SetNode &operator=(const SetNode &) = delete; SetNode(SetNode &&other) noexcept { *this = std::move(other); } @@ -78,10 +78,10 @@ struct SetNode<KeyT, typename std::enable_if_t<(sizeof(KeyT) > 28 * sizeof(void explicit Impl(InputKeyT &&key) : first(std::forward<InputKeyT>(key)) { DCHECK(!is_hash_table_key_empty(first)); } - Impl(const Impl &other) = delete; - Impl &operator=(const Impl &other) = delete; - Impl(Impl &&other) = delete; - void operator=(Impl &&other) = delete; + Impl(const Impl &) = delete; + Impl &operator=(const Impl &) = delete; + Impl(Impl &&) = delete; + Impl &operator=(Impl &&) = delete; }; using public_key_type = KeyT; |