commit | 4a280d56cca90296228ca29c7c582fa423d74e1f | [log] [tgz] |
---|---|---|
author | CJCombrink <carel.combrink@gmail.com> | Thu Mar 14 19:57:41 2024 +0100 |
committer | Jens Geyer <jensg@apache.org> | Mon Apr 15 22:37:44 2024 +0200 |
tree | 24d3efa12d96f2948ecbbf1b372c0faf7a369eb7 | |
parent | 68139d117fdf4d287a78819a5bb4b0f9cab8160c [diff] [blame] |
THRIFT-5766 Replace std::endl with "\n" Patch: Carel Combrink This closes #2943
diff --git a/contrib/thrift_dump.cpp b/contrib/thrift_dump.cpp index 59c8ac8..01864d0 100644 --- a/contrib/thrift_dump.cpp +++ b/contrib/thrift_dump.cpp
@@ -80,12 +80,12 @@ } } } catch (TProtocolException exn) { - cout << "Protocol Exception: " << exn.what() << endl; + cout << "Protocol Exception: " << exn.what() << '\n'; } catch (...) { oprot->getTransport()->flush(); } - cout << endl; + cout << '\n'; return 0; }