diff --git a/src/SFML/System/String.cpp b/src/SFML/System/String.cpp index 36c9fb250..e072c5a6a 100644 --- a/src/SFML/System/String.cpp +++ b/src/SFML/System/String.cpp @@ -166,7 +166,7 @@ String::String(const char* ansiString, const std::locale& locale) { if (ansiString) { - const std::size_t length = strlen(ansiString); + const std::size_t length = std::strlen(ansiString); if (length > 0) { m_string.reserve(length + 1);