mirror of
https://github.com/SFML/SFML.git
synced 2025-02-23 14:56:02 +08:00
Remove unnecessary functional declaration from header
This commit is contained in:
parent
73d30cf458
commit
73b2a37733
@ -38,12 +38,6 @@
|
|||||||
|
|
||||||
namespace sf
|
namespace sf
|
||||||
{
|
{
|
||||||
namespace priv
|
|
||||||
{
|
|
||||||
template <class InputIt, class OutputIt>
|
|
||||||
OutputIt copy(InputIt first, InputIt last, OutputIt dFirst);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <unsigned int N>
|
template <unsigned int N>
|
||||||
class Utf;
|
class Utf;
|
||||||
|
|
||||||
|
@ -41,15 +41,18 @@
|
|||||||
|
|
||||||
namespace sf
|
namespace sf
|
||||||
{
|
{
|
||||||
|
namespace priv
|
||||||
|
{
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
template <typename InputIt, typename OutputIt>
|
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)
|
while (first != last)
|
||||||
*dFirst++ = static_cast<typename OutputIt::container_type::value_type>(*first++);
|
*dFirst++ = static_cast<typename OutputIt::container_type::value_type>(*first++);
|
||||||
|
|
||||||
return dFirst;
|
return dFirst;
|
||||||
}
|
}
|
||||||
|
} // namespace priv
|
||||||
|
|
||||||
template <typename In>
|
template <typename In>
|
||||||
In Utf<8>::decode(In begin, In end, char32_t& output, char32_t replacement)
|
In Utf<8>::decode(In begin, In end, char32_t& output, char32_t replacement)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user