🔨 trying something #367

This commit is contained in:
Niels Lohmann 2017-05-22 17:06:46 +02:00
parent 9e507dfad5
commit c7bd01edf2
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -8830,6 +8830,8 @@ class basic_json
// may not have processed all of them. Therefore, we need to // may not have processed all of them. Therefore, we need to
// "rewind" the stream after the last processed char. // "rewind" the stream after the last processed char.
is.seekg(start_position + static_cast<std::streamoff>(processed_chars)); is.seekg(start_position + static_cast<std::streamoff>(processed_chars));
// clear stream flags
is.clear();
} }
int get_character() override int get_character() override