# | Line 24 | Line 24 | |
---|---|---|
24 | */ | |
25 | ||
26 | #include "io/SectionParser.hpp" | |
27 | < | |
27 | > | #include "utils/Trim.hpp" |
28 | namespace oopse { | |
29 | ||
30 | void SectionParser::parse(std::istream& input, ForceField& ff, int lineNo) { | |
# | Line 33 | Line 33 | void SectionParser::parse(std::istream& input, ForceFi | |
33 | std::string line; | |
34 | while(input.getline(buffer, bufferSize)) { | |
35 | /**@todo */ | |
36 | < | //line = TrimLeft(buffer); |
36 | > | line = trimLeftCopy(buffer); |
37 | //a line begins with "//" is comment | |
38 | if (isEndSection(line)) { | |
39 | break; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |