summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-04-17 09:23:47 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-04-20 00:15:23 +0430
commitdd370fcdd1ac6b86a134f4cf3f7f25d2751a1e7c (patch)
treec5fc187a5b7b755ff973e1f39eba5c3b02801a4b /AK
parent2b79f36148f7582b2788cea326849ba5dc119dfe (diff)
downloadserenity-dd370fcdd1ac6b86a134f4cf3f7f25d2751a1e7c.zip
AK: Explicitly instantiate String::to_uint<unsigned long{, long}>()
Instead of just to_uint<u64>().
Diffstat (limited to 'AK')
-rw-r--r--AK/String.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/AK/String.cpp b/AK/String.cpp
index 66c01a2149..c5e6f7965c 100644
--- a/AK/String.cpp
+++ b/AK/String.cpp
@@ -179,7 +179,8 @@ Optional<T> String::to_uint(TrimWhitespace trim_whitespace) const
template Optional<u8> String::to_uint(TrimWhitespace) const;
template Optional<u16> String::to_uint(TrimWhitespace) const;
template Optional<u32> String::to_uint(TrimWhitespace) const;
-template Optional<u64> String::to_uint(TrimWhitespace) const;
+template Optional<unsigned long> String::to_uint(TrimWhitespace) const;
+template Optional<unsigned long long> String::to_uint(TrimWhitespace) const;
bool String::starts_with(StringView str, CaseSensitivity case_sensitivity) const
{