mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:47:44 +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)
|
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)
|
for (auto const& function : overload_set)
|
||||||
longest_length = min(function.length(), longest_length);
|
shortest_length = min(function.length(), shortest_length);
|
||||||
return longest_length;
|
return shortest_length;
|
||||||
}
|
}
|
||||||
|
|
||||||
class Interface {
|
class Interface {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue