Remove carriage return from file
This commit is contained in:
parent
43a8b794c6
commit
885b1449a1
@ -65,6 +65,8 @@ namespace dvars
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
data.erase(std::remove(data.begin(), data.end(), '\r'), data.end());
|
||||||
|
|
||||||
std::istringstream stream(data);
|
std::istringstream stream(data);
|
||||||
std::string line;
|
std::string line;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user