mirror of
https://github.com/SFML/SFML.git
synced 2025-01-18 15:25:12 +08:00
Remove unnecessary function declaration
This commit is contained in:
parent
485eb157f2
commit
0a726aa9b9
@ -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
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user