commit | 369e014b7aeb90419867e1426403e4ae2e171426 | [log] [tgz] |
---|---|---|
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | Thu Aug 10 14:26:34 2017 +0100 |
committer | Anthony Barbier <anthony.barbier@arm.com> | Fri Nov 02 16:35:24 2018 +0000 |
tree | fb8d09089e3bf82119d6d799a59b0e4cdebaaa79 | |
parent | 5b44a7347c9632ee78ba1fc1771a6457ac1bca14 [diff] |
COMPMID-417: Fix JSON printer Change-Id: I6cc3ff1535baa7abcee0972e0f1755ea6306e15b Reviewed-on: http://mpd-gerrit.cambridge.arm.com/83514 Reviewed-by: Pablo Tello <pablo.tello@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
diff --git a/framework/printers/JSONPrinter.cpp b/framework/printers/JSONPrinter.cpp index 10cc911..099734e 100644 --- a/framework/printers/JSONPrinter.cpp +++ b/framework/printers/JSONPrinter.cpp
@@ -105,7 +105,7 @@ std::stringstream error_log; error_log.str(error.what()); - for(std::string line; !std::getline(error_log, line).eof();) + for(std::string line; !std::getline(error_log, line).fail();) { print_separator(_first_error);