BulkEdit: forbid copying

This commit is contained in:
Max Kellermann 2023-11-26 08:47:04 +01:00
parent 571b6f0cdb
commit 31bf6d29b9
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ public:
~ScopeBulkEdit() {
partition.playlist.CommitBulk(partition.pc);
}
ScopeBulkEdit(const ScopeBulkEdit &) = delete;
ScopeBulkEdit &operator=(const ScopeBulkEdit &) = delete;
};
#endif