PatchFields: Removed simple copy constructors and clone functions

These do not necessarily set the internal field reference correctly and it is
safer that the correct internal field is provided as an argument.
This commit is contained in:
Henry Weller
2020-10-03 22:16:10 +01:00
parent cdd2db01cc
commit 7e3f4976a8
470 changed files with 733 additions and 5738 deletions

View File

@ -136,22 +136,6 @@ ${typeName}FixedValuePointPatch${FieldType}
}
${typeName}FixedValuePointPatch${FieldType}::
${typeName}FixedValuePointPatch${FieldType}
(
const ${typeName}FixedValuePointPatch${FieldType}& ptf
)
:
fixedValuePointPatchField<${TemplateType}>(ptf)
{
if (${verbose:-false})
{
Info<<"construct ${typeName} sha1: ${SHA1sum}"
" as copy\n";
}
}
${typeName}FixedValuePointPatch${FieldType}::
${typeName}FixedValuePointPatch${FieldType}
(