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

@@ -239,8 +239,6 @@ template Optional<u16> StringView::to_uint() const;
template Optional<u32> StringView::to_uint() const;
template Optional<unsigned long> StringView::to_uint() const;
template Optional<unsigned long long> StringView::to_uint() const;
template Optional<long> StringView::to_uint() const;
template Optional<long long> StringView::to_uint() const;
#ifndef KERNEL
Optional<double> StringView::to_double(TrimWhitespace trim_whitespace) const