diff --git a/src/SFML/System/String.cpp b/src/SFML/System/String.cpp index e072c5a6a..3b2d81441 100644 --- a/src/SFML/System/String.cpp +++ b/src/SFML/System/String.cpp @@ -48,8 +48,7 @@ void U8StringCharTraits::assign(char_type& c1, char_type c2) noexcept //////////////////////////////////////////////////////////// U8StringCharTraits::char_type* U8StringCharTraits::assign(char_type* s, std::size_t n, char_type c) { - return reinterpret_cast( - std::char_traits::assign(reinterpret_cast(s), n, static_cast(c))); + return reinterpret_cast(std::char_traits::assign(reinterpret_cast(s), n, static_cast(c))); } @@ -100,7 +99,7 @@ std::size_t U8StringCharTraits::length(const char_type* s) //////////////////////////////////////////////////////////// const U8StringCharTraits::char_type* U8StringCharTraits::find(const char_type* s, std::size_t n, const char_type& c) { - return reinterpret_cast( + return reinterpret_cast( std::char_traits::find(reinterpret_cast(s), n, static_cast(c))); }