diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/functions/FN_generic_virtual_array.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh index 31f649e0358..d8641f7ae80 100644 --- a/source/blender/functions/FN_generic_virtual_array.hh +++ b/source/blender/functions/FN_generic_virtual_array.hh @@ -564,7 +564,7 @@ template<typename T> class GVMutableArray_For_VMutableArray : public GVMutableAr void set_all_impl(const void *src) { - varray_->set_all(Span((T *)data, size_)); + varray_->set_all(Span((T *)src, size_)); } void materialize_impl(const IndexMask mask, void *dst) const override @@ -688,7 +688,7 @@ class GVArray_For_EmbeddedVArray : public GVArray_For_VArray<T> { public: template<typename... Args> - GVArray_For_EmbeddedVArray(const int64_t size, Args &&... args) + GVArray_For_EmbeddedVArray(const int64_t size, Args &&...args) : GVArray_For_VArray<T>(size), embedded_varray_(std::forward<Args>(args)...) { this->varray_ = &embedded_varray_; @@ -703,7 +703,7 @@ class GVMutableArray_For_EmbeddedVMutableArray : public GVMutableArray_For_VMuta public: template<typename... Args> - GVMutableArray_For_EmbeddedVMutableArray(const int64_t size, Args &&... args) + GVMutableArray_For_EmbeddedVMutableArray(const int64_t size, Args &&...args) : GVMutableArray_For_VMutableArray<T>(size), embedded_varray_(std::forward<Args>(args)...) { this->varray_ = &embedded_varray_; |