Skip to content

Commit

Permalink
BulkEdit: forbid copying
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Nov 26, 2023
1 parent 571b6f0 commit 31bf6d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BulkEdit.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public:
~ScopeBulkEdit() {
partition.playlist.CommitBulk(partition.pc);
}

ScopeBulkEdit(const ScopeBulkEdit &) = delete;
ScopeBulkEdit &operator=(const ScopeBulkEdit &) = delete;
};

#endif

0 comments on commit 31bf6d2

Please sign in to comment.