[Bf-blender-cvs] [db7fca3588a] master: Cleanup: Remove unnecessary manual of move constructor
Hans Goudey
noreply at git.blender.org
Thu Sep 16 19:32:47 CEST 2021
Commit: db7fca3588aab72e49a74cbb2c236f86c0e0e6c1
Author: Hans Goudey
Date: Thu Sep 16 12:32:40 2021 -0500
Branches: master
https://developer.blender.org/rBdb7fca3588aab72e49a74cbb2c236f86c0e0e6c1
Cleanup: Remove unnecessary manual of move constructor
Turns out this isn't actually necessary.
===================================================================
M source/blender/blenkernel/BKE_attribute_access.hh
===================================================================
diff --git a/source/blender/blenkernel/BKE_attribute_access.hh b/source/blender/blenkernel/BKE_attribute_access.hh
index 7a4dc5270af..cf54e7efa0d 100644
--- a/source/blender/blenkernel/BKE_attribute_access.hh
+++ b/source/blender/blenkernel/BKE_attribute_access.hh
@@ -265,15 +265,7 @@ class OutputAttribute {
{
}
- OutputAttribute(OutputAttribute &&other)
- : varray_(std::move(other.varray_)),
- domain_(other.domain_),
- save_(other.save_),
- optional_span_varray_(std::move(other.optional_span_varray_)),
- ignore_old_values_(other.ignore_old_values_),
- save_has_been_called_(other.save_has_been_called_)
- {
- }
+ OutputAttribute(OutputAttribute &&other) = default;
~OutputAttribute();
More information about the Bf-blender-cvs
mailing list