We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096576a commit 91d3dc7Copy full SHA for 91d3dc7
cpp/src/main.cpp
@@ -86,7 +86,7 @@ void load() {
86
NodeId s, e;
87
Distance d;
88
for (std::string::size_type idx=0, pos=0, prev_pos=0; pos <= line.length(); pos++) {
89
- if (line[pos] == ',' || line[pos] == '\r' || pos == line.length()) {
+ if (line[pos] == ',' || pos == line.length()) {
90
const auto field = std::string_view{line}.substr(prev_pos, pos-prev_pos);
91
switch (idx) {
92
case 2: s = stoi_unchecked(field); break;
0 commit comments