Use std::ranges::remove instead
This commit is contained in:
parent
885b1449a1
commit
947318deac
@ -65,7 +65,7 @@ namespace dvars
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
data.erase(std::remove(data.begin(), data.end(), '\r'), data.end());
|
data.erase(std::ranges::remove(data, '\r').begin(), data.end());
|
||||||
|
|
||||||
std::istringstream stream(data);
|
std::istringstream stream(data);
|
||||||
std::string line;
|
std::string line;
|
||||||
|
Loading…
Reference in New Issue
Block a user