Remove unnecessary function declaration

This commit is contained in:
Chris Thrasher 2025-02-16 13:37:16 -07:00
parent d4bb96dc77
commit 068c08bb45
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C
2 changed files with 4 additions and 7 deletions

View File

@ -38,12 +38,6 @@
namespace sf
{
namespace priv
{
template <class InputIt, class OutputIt>
OutputIt copy(InputIt first, InputIt last, OutputIt dFirst);
}
template <unsigned int N>
class Utf;

View File

@ -41,15 +41,18 @@
namespace sf
{
namespace priv
{
////////////////////////////////////////////////////////////
template <typename InputIt, typename OutputIt>
OutputIt priv::copy(InputIt first, InputIt last, OutputIt dFirst)
OutputIt copy(InputIt first, InputIt last, OutputIt dFirst)
{
while (first != last)
*dFirst++ = static_cast<typename OutputIt::container_type::value_type>(*first++);
return dFirst;
}
} // namespace priv
template <typename In>
In Utf<8>::decode(In begin, In end, char32_t& output, char32_t replacement)