From ca2df4c02012c251fd21514e13cf4746219f6237 Mon Sep 17 00:00:00 2001 From: Ralph Wessel Date: Wed, 30 Oct 2024 12:38:20 +0000 Subject: [PATCH] Finish assignment operator did not call assignment operator for bae class --- SpeckleLib/Speckle/Record/Attribute/Finish.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SpeckleLib/Speckle/Record/Attribute/Finish.cpp b/SpeckleLib/Speckle/Record/Attribute/Finish.cpp index ef82c17..ac028a6 100644 --- a/SpeckleLib/Speckle/Record/Attribute/Finish.cpp +++ b/SpeckleLib/Speckle/Record/Attribute/Finish.cpp @@ -165,6 +165,7 @@ Finish::~Finish() {} --------------------------------------------------------------------*/ Finish& Finish::operator=(const Finish& source) { if (this != &source) { + base::operator=(source); m_data = source.m_data ? std::make_unique(*source.m_data) : nullptr; } return *this;