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:
@ -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}
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user