Revision 6575aa2e custompackages/graph-parser/src/parser.cpp
custompackages/graph-parser/src/parser.cpp | ||
---|---|---|
10 | 10 |
|
11 | 11 |
vector<string> strs; |
12 | 12 |
for (string line; getline(inFile, line); /**/) { |
13 |
boost::split(strs, line, boost::is_any_of(" "), boost::token_compress_on); |
|
13 |
boost::split(strs, line, boost::is_any_of(" ,"), boost::token_compress_on);
|
|
14 | 14 |
|
15 | 15 |
// Cast vector<string> to array<string, 3> |
16 | 16 |
// TODO: this is really crude way to do it. |
Also available in: Unified diff