diff --git a/AK/DeprecatedString.cpp b/AK/DeprecatedString.cpp index f30fbae61f4..c2ff851ea66 100644 --- a/AK/DeprecatedString.cpp +++ b/AK/DeprecatedString.cpp @@ -172,7 +172,8 @@ Optional DeprecatedString::to_int(TrimWhitespace trim_whitespace) const template Optional DeprecatedString::to_int(TrimWhitespace) const; template Optional DeprecatedString::to_int(TrimWhitespace) const; template Optional DeprecatedString::to_int(TrimWhitespace) const; -template Optional DeprecatedString::to_int(TrimWhitespace) const; +template Optional DeprecatedString::to_int(TrimWhitespace) const; +template Optional DeprecatedString::to_int(TrimWhitespace) const; template Optional DeprecatedString::to_uint(TrimWhitespace trim_whitespace) const diff --git a/AK/StringUtils.cpp b/AK/StringUtils.cpp index 58157d148e6..eba74f8ee09 100644 --- a/AK/StringUtils.cpp +++ b/AK/StringUtils.cpp @@ -157,8 +157,6 @@ template Optional convert_to_uint(StringView str, TrimWhitespace); template Optional convert_to_uint(StringView str, TrimWhitespace); template Optional convert_to_uint(StringView str, TrimWhitespace); template Optional convert_to_uint(StringView str, TrimWhitespace); -template Optional convert_to_uint(StringView str, TrimWhitespace); -template Optional convert_to_uint(StringView str, TrimWhitespace); template Optional convert_to_uint_from_hex(StringView str, TrimWhitespace trim_whitespace) diff --git a/AK/StringView.cpp b/AK/StringView.cpp index f299ab707bf..92315f6add9 100644 --- a/AK/StringView.cpp +++ b/AK/StringView.cpp @@ -239,8 +239,6 @@ template Optional StringView::to_uint() const; template Optional StringView::to_uint() const; template Optional StringView::to_uint() const; template Optional StringView::to_uint() const; -template Optional StringView::to_uint() const; -template Optional StringView::to_uint() const; #ifndef KERNEL Optional StringView::to_double(TrimWhitespace trim_whitespace) const