WIP: Core: use generic copy-on-write system to avoid redundant copies #104478

Closed
Jacques Lucke wants to merge 66 commits from JacquesLucke/blender:temp-copy-on-write into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 0 additions and 3 deletions
Showing only changes of commit a16a60f600 - Show all commits

View File

@ -7,7 +7,6 @@
*/
#include <atomic>
#include <functional>
#include "BLI_compiler_attrs.h"
#include "BLI_utildefines.h"
@ -27,8 +26,6 @@ typedef struct bCopyOnWrite bCopyOnWrite;
struct bCopyOnWrite : blender::NonCopyable, blender::NonMovable {
private:
using DeleteFn = std::function<void(const bCopyOnWrite *cow)>;
mutable std::atomic<int> users_;
public: