diff options
Diffstat (limited to '054dilated_reagent.cc')
-rw-r--r-- | 054dilated_reagent.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/054dilated_reagent.cc b/054dilated_reagent.cc index f1d3b267..ac40f049 100644 --- a/054dilated_reagent.cc +++ b/054dilated_reagent.cc @@ -80,7 +80,7 @@ if (s.at(0) == '{') { istringstream in(s); in >> std::noskipws; in.get(); // skip '{' - while (!in.eof()) { + while (has_data(in)) { string key = slurp_key(in); if (key.empty()) continue; if (key == "}") continue; |