From 9169e11195da03ba4ad47f465528ccdeb272746b Mon Sep 17 00:00:00 2001 From: ZXShady <153229951+ZXShady@users.noreply.github.com> Date: Sat, 5 Oct 2024 07:47:06 +0100 Subject: [PATCH] Remove unneeded class prefixes --- src/SFML/System/String.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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))); }