diff --git a/date.h b/date.h index 8c710e3..fd4ee7f 100644 --- a/date.h +++ b/date.h @@ -5448,7 +5448,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, { using namespace std; using namespace std::chrono; - typename basic_istream::sentry ok{is}; + typename basic_istream::sentry ok{is, true}; if (ok) { auto& f = use_facet>(is.getloc());