mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
Everywhere: Remove pessimizing and redundant move()
This commit is contained in:
parent
fa28cc85e6
commit
f59ad2dc57
9 changed files with 11 additions and 11 deletions
|
@ -203,7 +203,7 @@ Vector<DNSAnswer> LookupServer::lookup(const DNSName& name, unsigned short recor
|
|||
return {};
|
||||
}
|
||||
|
||||
return move(answers);
|
||||
return answers;
|
||||
}
|
||||
|
||||
Vector<DNSAnswer> LookupServer::lookup(const DNSName& name, const String& nameserver, bool& did_get_response, unsigned short record_type, ShouldRandomizeCase should_randomize_case)
|
||||
|
@ -296,7 +296,7 @@ Vector<DNSAnswer> LookupServer::lookup(const DNSName& name, const String& namese
|
|||
answers.append(answer);
|
||||
}
|
||||
|
||||
return move(answers);
|
||||
return answers;
|
||||
}
|
||||
|
||||
void LookupServer::put_in_cache(const DNSAnswer& answer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue