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:
Diffstat (limited to 'source/blender/blenlib/BLI_virtual_array.hh')
-rw-r--r--source/blender/blenlib/BLI_virtual_array.hh20
1 files changed, 4 insertions, 16 deletions
diff --git a/source/blender/blenlib/BLI_virtual_array.hh b/source/blender/blenlib/BLI_virtual_array.hh
index e94fed7ef24..d9f83d3e1cb 100644
--- a/source/blender/blenlib/BLI_virtual_array.hh
+++ b/source/blender/blenlib/BLI_virtual_array.hh
@@ -810,14 +810,8 @@ template<typename T> class VArray : public VArrayCommon<T> {
public:
VArray() = default;
-
- VArray(const VArray &other) : VArrayCommon<T>(other)
- {
- }
-
- VArray(VArray &&other) noexcept : VArrayCommon<T>(std::move(other))
- {
- }
+ VArray(const VArray &other) = default;
+ VArray(VArray &&other) noexcept = default;
VArray(const VArrayImpl<T> *impl) : VArrayCommon<T>(impl)
{
@@ -903,14 +897,8 @@ template<typename T> class VArray : public VArrayCommon<T> {
template<typename T> class VMutableArray : public VArrayCommon<T> {
public:
VMutableArray() = default;
-
- VMutableArray(const VMutableArray &other) : VArrayCommon<T>(other)
- {
- }
-
- VMutableArray(VMutableArray &&other) noexcept : VArrayCommon<T>(std::move(other))
- {
- }
+ VMutableArray(const VMutableArray &other) = default;
+ VMutableArray(VMutableArray &&other) noexcept = default;
VMutableArray(const VMutableArrayImpl<T> *impl) : VArrayCommon<T>(impl)
{