mirror of
https://github.com/SFML/SFML.git
synced 2025-02-22 22:36:02 +08:00
Remove unnecessary function declaration
This commit is contained in:
parent
d4bb96dc77
commit
068c08bb45
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user