Skip to content

Commit 91d201c

Browse files
authored
Merge pull request #182 from Geode-solutions/fix/check-component-uuid
fix(CrossSection): apply copy component only once
2 parents 4c38cae + 355cbda commit 91d201c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

commitlint.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const Configuration = {
1414
"type-empty": [0],
1515
"type-enum": [2, "always", ["feat", "fix", "perf"]],
1616
},
17-
}
17+
defaultIgnores: false,
18+
};
1819

19-
export default Configuration
20+
export default Configuration;

src/geode/geosciences/explicit/representation/core/cross_section.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ namespace geode
213213

214214
CrossSection CrossSection::clone() const
215215
{
216-
CrossSection model_clone{ Section::clone() };
216+
CrossSection model_clone;
217217
CrossSectionBuilder clone_builder{ model_clone };
218218
clone_builder.copy_identifier( *this );
219219
auto mappings = detail::section_clone_mapping( *this );

0 commit comments

Comments
 (0)