diff options
| author | Martin Hořeňovský | 2021-05-29 11:24:42 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-05-29 13:15:46 +0200 |
| commit | c9027375a3e57b59ecdeba696d3031163e473108 (patch) | |
| tree | 693bbc68a9d70fb1ac7a582f4bb9735f611b9ed0 /src/catch2/internal/catch_debugger.cpp | |
| parent | 2ae28fc8525813023f8ec0f5318670cfaf86ec83 (diff) | |
| download | catch3-c9027375a3e57b59ecdeba696d3031163e473108.tar.gz | |
Replace std::endl with \n and flush
In some places the `std::flush` was not added, as it was sufficiently
obvious that the flush semantics are not intended. There are likely
other places where the flush semantics aren't intended, but that
is a cleanup for later.
Diffstat (limited to 'src/catch2/internal/catch_debugger.cpp')
| -rw-r--r-- | src/catch2/internal/catch_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_debugger.cpp b/src/catch2/internal/catch_debugger.cpp index e1764034..3c80173a 100644 --- a/src/catch2/internal/catch_debugger.cpp +++ b/src/catch2/internal/catch_debugger.cpp @@ -53,7 +53,7 @@ size = sizeof(info); if( sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, nullptr, 0) != 0 ) { - Catch::cerr() << "\n** Call to sysctl failed - unable to determine if debugger is active **\n" << std::endl; + Catch::cerr() << "\n** Call to sysctl failed - unable to determine if debugger is active **\n\n" << std::flush; return false; } |