Skip to content

Commit b32640b

Browse files
committed
Move constructor/assignment of db_copy_thread_t is deleted anyway
Because of the std::mutex inside the class. This makes this clear.
1 parent cf75b79 commit b32640b

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)