aboutsummaryrefslogtreecommitdiffhomepage
path: root/tddb
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-05-05 13:51:19 +0300
committerlevlam <levlam@telegram.org>2023-05-05 13:51:19 +0300
commitc0911577f766a2bc1c108b2e6d37b1cafa3dc323 (patch)
tree9c77da945c6ceafbab24745d874c227f4cd62d47 /tddb
parentc2795ca9046e8de5197262743c4162c027cee724 (diff)
Use empty name for unused move constructor/assignment parameter.
Diffstat (limited to 'tddb')
-rw-r--r--tddb/td/db/SqliteStatement.h8
-rw-r--r--tddb/td/db/binlog/Binlog.h8
-rw-r--r--tddb/td/db/binlog/ConcurrentBinlog.h8
3 files changed, 12 insertions, 12 deletions
diff --git a/tddb/td/db/SqliteStatement.h b/tddb/td/db/SqliteStatement.h
index 1bcf82eff..4475e51a8 100644
--- a/tddb/td/db/SqliteStatement.h
+++ b/tddb/td/db/SqliteStatement.h
@@ -26,10 +26,10 @@ extern int VERBOSITY_NAME(sqlite);
class SqliteStatement {
public:
SqliteStatement() = default;
- SqliteStatement(const SqliteStatement &other) = delete;
- SqliteStatement &operator=(const SqliteStatement &other) = delete;
- SqliteStatement(SqliteStatement &&other) = default;
- SqliteStatement &operator=(SqliteStatement &&other) = default;
+ SqliteStatement(const SqliteStatement &) = delete;
+ SqliteStatement &operator=(const SqliteStatement &) = delete;
+ SqliteStatement(SqliteStatement &&) = default;
+ SqliteStatement &operator=(SqliteStatement &&) = default;
~SqliteStatement();
Status bind_blob(int id, Slice blob) TD_WARN_UNUSED_RESULT;
diff --git a/tddb/td/db/binlog/Binlog.h b/tddb/td/db/binlog/Binlog.h
index 055c84e18..4b13b8a94 100644
--- a/tddb/td/db/binlog/Binlog.h
+++ b/tddb/td/db/binlog/Binlog.h
@@ -47,10 +47,10 @@ class Binlog {
public:
enum class Error : int { WrongPassword = -1037284 };
Binlog();
- Binlog(const Binlog &other) = delete;
- Binlog &operator=(const Binlog &other) = delete;
- Binlog(Binlog &&other) = delete;
- Binlog &operator=(Binlog &&other) = delete;
+ Binlog(const Binlog &) = delete;
+ Binlog &operator=(const Binlog &) = delete;
+ Binlog(Binlog &&) = delete;
+ Binlog &operator=(Binlog &&) = delete;
~Binlog();
using Callback = std::function<void(const BinlogEvent &)>;
diff --git a/tddb/td/db/binlog/ConcurrentBinlog.h b/tddb/td/db/binlog/ConcurrentBinlog.h
index cdac7d0dd..f850e2ad4 100644
--- a/tddb/td/db/binlog/ConcurrentBinlog.h
+++ b/tddb/td/db/binlog/ConcurrentBinlog.h
@@ -35,10 +35,10 @@ class ConcurrentBinlog final : public BinlogInterface {
ConcurrentBinlog();
explicit ConcurrentBinlog(unique_ptr<Binlog> binlog, int scheduler_id = -1);
- ConcurrentBinlog(const ConcurrentBinlog &other) = delete;
- ConcurrentBinlog &operator=(const ConcurrentBinlog &other) = delete;
- ConcurrentBinlog(ConcurrentBinlog &&other) = delete;
- ConcurrentBinlog &operator=(ConcurrentBinlog &&other) = delete;
+ ConcurrentBinlog(const ConcurrentBinlog &) = delete;
+ ConcurrentBinlog &operator=(const ConcurrentBinlog &) = delete;
+ ConcurrentBinlog(ConcurrentBinlog &&) = delete;
+ ConcurrentBinlog &operator=(ConcurrentBinlog &&) = delete;
~ConcurrentBinlog() final;
void force_sync(Promise<> promise) final;