mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
LibWeb: Correct variable name in get_shortest_function_length()
This commit is contained in:
parent
5fbcda950b
commit
7b61d16262
Notes:
sideshowbarker
2024-07-17 08:17:35 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/7b61d16262 Pull-request: https://github.com/SerenityOS/serenity/pull/14839
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
Reference in a new issue