decomposing the subrange
This commit is contained in:
parent
947318deac
commit
e6b0995c34
@ -65,7 +65,8 @@ namespace dvars
|
||||
return;
|
||||
}
|
||||
|
||||
data.erase(std::ranges::remove(data, '\r').begin(), data.end());
|
||||
const auto [beg, end] = std::ranges::remove(data, '\r');
|
||||
data.erase(beg, end);
|
||||
|
||||
std::istringstream stream(data);
|
||||
std::string line;
|
||||
|
Loading…
Reference in New Issue
Block a user