Avoid unnecessary type names in return statements

This commit is contained in:
Tim Wojtulewicz 2023-07-06 14:07:43 -07:00
parent 4957dace64
commit de13bb6361
12 changed files with 35 additions and 36 deletions

View file

@ -44,7 +44,7 @@ FieldMapping::FieldMapping(const FieldMapping& arg)
FieldMapping FieldMapping::subType()
{
return FieldMapping(name, subtype, position);
return {name, subtype, position};
}
FieldMapping& FieldMapping::operator=(const FieldMapping& arg)