diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-07-08 17:26:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-07-08 17:27:47 +0300 |
commit | d8e980a4a6f132aba13713efb89ec3013976c4a1 (patch) | |
tree | 761e940f9ac28da6a68b98176cc3926331115b3e /source/blender/blenlib/BLI_virtual_array.hh | |
parent | 8159e0a666d3d51936e50a36912f38386570af11 (diff) |
Fix bug in recently added MutableVArraySpan move constructor
Diffstat (limited to 'source/blender/blenlib/BLI_virtual_array.hh')
-rw-r--r-- | source/blender/blenlib/BLI_virtual_array.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_virtual_array.hh b/source/blender/blenlib/BLI_virtual_array.hh index 56b2f9f6c6f..438fcc4b8f7 100644 --- a/source/blender/blenlib/BLI_virtual_array.hh +++ b/source/blender/blenlib/BLI_virtual_array.hh @@ -1221,7 +1221,7 @@ template<typename T> class MutableVArraySpan final : public MutableSpan<T> { MutableVArraySpan(MutableVArraySpan &&other) : varray_(std::move(other.varray_)), - owned_data_(std::move(owned_data_)), + owned_data_(std::move(other.owned_data_)), show_not_saved_warning_(other.show_not_saved_warning_) { if (!varray_) { |