summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-06-04 19:24:05 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-06-04 19:24:05 +0300
commitefc336e60cf1331bf5f3213d296981b87b8b2a6c (patch)
treeea59ea1a324f45f6e8a06cc0887b376bfba90ca9 /protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.h
parent6e83622d2af1cec3c759f4cff6efe4df2fe3328c (diff)
fixes #3537 (Telegram: 32-разрядная версия падает в 64-разрядной Windows) + update to the fresh TDLIB
Diffstat (limited to 'protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.h')
-rw-r--r--protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.h b/protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.h
index 6a7dcc8256..11994742f2 100644
--- a/protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.h
+++ b/protocols/Telegram/tdlib/td/tdutils/td/utils/SharedObjectPool.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)
@@ -187,10 +187,10 @@ class SharedObjectPool {
using Ptr = detail::SharedPtr<DataT, Deleter>;
SharedObjectPool() = default;
- SharedObjectPool(const SharedObjectPool &other) = delete;
- SharedObjectPool &operator=(const SharedObjectPool &other) = delete;
- SharedObjectPool(SharedObjectPool &&other) = delete;
- SharedObjectPool &operator=(SharedObjectPool &&other) = delete;
+ SharedObjectPool(const SharedObjectPool &) = delete;
+ SharedObjectPool &operator=(const SharedObjectPool &) = delete;
+ SharedObjectPool(SharedObjectPool &&) = delete;
+ SharedObjectPool &operator=(SharedObjectPool &&) = delete;
~SharedObjectPool() {
free_queue_.pop_all(free_queue_reader_);
size_t free_cnt = 0;