1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:04:57 +00:00

AK: Synchronize explicit instantiations of to_int and to_uint

1. Ensure long and long long are instantiated for to_int.
2. Ensure long and long long are not instantiated for to_uint.
This commit is contained in:
Timothy Flynn 2022-12-15 17:28:18 -05:00 committed by Andreas Kling
parent a67ad665b1
commit d28c9ba054
3 changed files with 2 additions and 5 deletions

View file

@ -157,8 +157,6 @@ template Optional<u16> convert_to_uint(StringView str, TrimWhitespace);
template Optional<u32> convert_to_uint(StringView str, TrimWhitespace);
template Optional<unsigned long> convert_to_uint(StringView str, TrimWhitespace);
template Optional<unsigned long long> convert_to_uint(StringView str, TrimWhitespace);
template Optional<long> convert_to_uint(StringView str, TrimWhitespace);
template Optional<long long> convert_to_uint(StringView str, TrimWhitespace);
template<typename T>
Optional<T> convert_to_uint_from_hex(StringView str, TrimWhitespace trim_whitespace)