Skip to content

Commit 497235b

Browse files
authored
Merge pull request #1147 from joto/fix-deleted-move-constr
Move constructor/assignment of db_copy_thread_t is deleted anyway
2 parents df0d9db + b32640b commit 497235b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/db-copy.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ class db_copy_thread_t
230230
db_copy_thread_t(db_copy_thread_t const &) = delete;
231231
db_copy_thread_t &operator=(db_copy_thread_t const &) = delete;
232232

233-
db_copy_thread_t(db_copy_thread_t &&) = default;
234-
db_copy_thread_t &operator=(db_copy_thread_t &&) = default;
233+
db_copy_thread_t(db_copy_thread_t &&) = delete;
234+
db_copy_thread_t &operator=(db_copy_thread_t &&) = delete;
235235

236236
~db_copy_thread_t();
237237

0 commit comments

Comments
 (0)