Ticket #3607: boost-date_time-parse_ptime_with_format.patch
File boost-date_time-parse_ptime_with_format.patch, 786 bytes (added by , 13 years ago) |
---|
-
time_facet.hpp
27 27 #include <boost/date_time/date_facet.hpp> 28 28 #include <boost/date_time/string_convert.hpp> 29 29 #include <boost/date_time/special_defs.hpp> 30 #include <boost/date_time/gregorian/greg_month.hpp> 30 31 31 32 namespace boost { 32 33 namespace date_time { … … 1172 1173 1173 1174 } 1174 1175 else { //skip past chars in format and in buffer 1176 if( sitr != stream_end && *itr != *sitr ) { 1177 throw std::exception(); // mismatch in seperater characters found 1178 } 1179 1175 1180 ++itr; 1176 1181 // set use_current_char when sitr is already 1177 1182 // pointing at the next character to process