From d8e980a4a6f132aba13713efb89ec3013976c4a1 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 8 Jul 2022 16:26:13 +0200 Subject: Fix bug in recently added MutableVArraySpan move constructor --- source/blender/blenlib/BLI_virtual_array.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 class MutableVArraySpan final : public MutableSpan { 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_) { -- cgit v1.2.3