decomposing the subrange

This commit is contained in:
BrentVL-1952840 2023-02-27 11:17:22 +01:00
parent 947318deac
commit e6b0995c34

View File

@ -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;