Opened 18 years ago
Closed 18 years ago
#382 deleted Bugs (None)
Past-the-end tokenization in parse_date()
Reported by: | nimnul | Owned by: | az_sw_dude |
---|---|---|---|
Milestone: | Component: | date_time | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
Loop termination condition is wrong. Comma is used instead of and operator: for(boost::tokenizer<>::iterator beg=tok.begin(); beg!=tok.end(), pos < spec_str.size(); ++beg, ++pos) Should read as for(boost::tokenizer<>::iterator beg=tok.begin(); beg!=tok.end() && pos < spec_str.size(); ++beg, ++pos)
Note:
See TracTickets
for help on using tickets.