Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-09-16 20:32:40 +0300
committerHans Goudey <h.goudey@me.com>2021-09-16 20:32:40 +0300
commitdb7fca3588aab72e49a74cbb2c236f86c0e0e6c1 (patch)
tree82eb54876d735a6af4de2919d902fc898cc822d8
parentf81bacd6f0fc8d9afb46570e1a66c4469185d8a5 (diff)
Cleanup: Remove unnecessary manual of move constructor
Turns out this isn't actually necessary.
-rw-r--r--source/blender/blenkernel/BKE_attribute_access.hh10
1 files changed, 1 insertions, 9 deletions
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();