mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-24 06:53:46 +00:00
Correct is_space fix for Windows compatibility
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
826b56cabc
commit
55dc1e17e6
@@ -240,7 +240,7 @@ public:
|
||||
{
|
||||
std::string shieldText(rawText);
|
||||
|
||||
std::erase_if(shieldText, [](char c) { return c == '-' || ::isspace(c); });
|
||||
std::erase_if(shieldText, [](char c) { return c == '-' || strings::IsASCIISpace(c); });
|
||||
|
||||
if (shieldText.size() <= 2)
|
||||
return RoadShield(RoadShieldType::Default, rawText);
|
||||
|
||||
Reference in New Issue
Block a user