mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 21:39:16 +01:00
fix: sonar sast fixes
This commit is contained in:
@@ -512,7 +512,7 @@ std::vector<std::string> deserialize_set(cParser &Input, char const *Break)
|
||||
std::vector<std::string> tokens;
|
||||
|
||||
auto token{Input.getToken<std::string>(true, Break)};
|
||||
std::replace(token.begin(), token.end(), '\\', '/');
|
||||
std::ranges::replace(token, '\\', '/');
|
||||
if (token != "[")
|
||||
{
|
||||
// simple case, single token
|
||||
|
||||
Reference in New Issue
Block a user