mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Avoid unnecessary type names in return statements
This commit is contained in:
parent
4957dace64
commit
de13bb6361
12 changed files with 35 additions and 36 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue