mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Change function return types to more concise types where possible
This helps avoid needing to call std::move on return values when we know the type of value is fixed.
This commit is contained in:
parent
424d1c00dd
commit
3295c8f1c1
9 changed files with 22 additions and 20 deletions
|
@ -2303,7 +2303,7 @@ TypePtr merge_record_types(const Type* t1, const Type* t2) {
|
|||
return make_intrusive<RecordType>(tdl3);
|
||||
}
|
||||
|
||||
TypePtr merge_list_types(const Type* t1, const Type* t2) {
|
||||
TypeListPtr merge_list_types(const Type* t1, const Type* t2) {
|
||||
const TypeList* tl1 = t1->AsTypeList();
|
||||
const TypeList* tl2 = t2->AsTypeList();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue