-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
DataProcessing/siteupdate/cplusplus/tasks/read_updates.cpp
Lines 14 to 22 in 12f8df8
| string* fields = new string[5]; | |
| // deleted as DB table is written | |
| string* ptr_array[5] = {&fields[0], &fields[1], &fields[2], &fields[3], &fields[4]}; | |
| split(line, ptr_array, NumFields, ';'); | |
| if (NumFields != 5) | |
| { el.add_error("Could not parse updates.csv line: [" + line | |
| + "], expected 5 fields, found " + std::to_string(NumFields)); | |
| continue; | |
| } |
In here working on #62. May as well fix this along with.