Correct is_space fix for Windows compatibility

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-08-13 17:19:28 +03:00
committed by Konstantin Pastbin
parent 826b56cabc
commit 55dc1e17e6
7 changed files with 28 additions and 17 deletions

View File

@@ -86,7 +86,7 @@ void RemoveStopWordsIfNeeded(QueryTokens & tokens, strings::UniString & prefix)
void TrimLeadingSpaces(string & s)
{
while (!s.empty() && isspace(s.front()))
while (!s.empty() && strings::IsASCIISpace(s.front()))
s = s.substr(1);
}