mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibWeb: Correct variable name in get_shortest_function_length()
This commit is contained in:
parent
5fbcda950b
commit
7b61d16262
1 changed files with 3 additions and 3 deletions
|
@ -161,10 +161,10 @@ struct ParameterizedType : public Type {
|
|||
|
||||
static inline size_t get_shortest_function_length(Vector<Function&> const& overload_set)
|
||||
{
|
||||
size_t longest_length = SIZE_MAX;
|
||||
size_t shortest_length = SIZE_MAX;
|
||||
for (auto const& function : overload_set)
|
||||
longest_length = min(function.length(), longest_length);
|
||||
return longest_length;
|
||||
shortest_length = min(function.length(), shortest_length);
|
||||
return shortest_length;
|
||||
}
|
||||
|
||||
class Interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue