diff --git a/include/SFML/System/Utf.hpp b/include/SFML/System/Utf.hpp index 36d7ae7da..d4eb8aaa4 100644 --- a/include/SFML/System/Utf.hpp +++ b/include/SFML/System/Utf.hpp @@ -38,12 +38,6 @@ namespace sf { -namespace priv -{ -template -OutputIt copy(InputIt first, InputIt last, OutputIt dFirst); -} - template class Utf; diff --git a/include/SFML/System/Utf.inl b/include/SFML/System/Utf.inl index bca49243f..2886663cb 100644 --- a/include/SFML/System/Utf.inl +++ b/include/SFML/System/Utf.inl @@ -41,15 +41,18 @@ namespace sf { +namespace priv +{ //////////////////////////////////////////////////////////// template -OutputIt priv::copy(InputIt first, InputIt last, OutputIt dFirst) +OutputIt copy(InputIt first, InputIt last, OutputIt dFirst) { while (first != last) *dFirst++ = static_cast(*first++); return dFirst; } +} // namespace priv ////////////////////////////////////////////////////////////