[Bf-blender-cvs] [a41ee7ea1ae] gpencil-new-data-proposal: Fix bug in recently added MutableVArraySpan move constructor
Brecht Van Lommel
noreply at git.blender.org
Fri Jul 8 17:57:54 CEST 2022
Commit: a41ee7ea1ae9bb1bcc537576d9ffdb3bca3201f3
Author: Brecht Van Lommel
Date: Fri Jul 8 16:26:13 2022 +0200
Branches: gpencil-new-data-proposal
https://developer.blender.org/rBa41ee7ea1ae9bb1bcc537576d9ffdb3bca3201f3
Fix bug in recently added MutableVArraySpan move constructor
===================================================================
M source/blender/blenlib/BLI_virtual_array.hh
===================================================================
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_) {
More information about the Bf-blender-cvs
mailing list