Quellcode durchsuchen

Formatting.

main
offa vor 7 Jahren
Ursprung
Commit
c726e08dc1
1 geänderte Dateien mit 10 neuen und 8 gelöschten Zeilen
  1. +10
    -8
      test/TestMain.cpp

+ 10
- 8
test/TestMain.cpp Datei anzeigen

@@ -26,17 +26,19 @@
namespace trompeloeil
{
template <>
void reporter<specialized>::send(
severity s,
const char* file,
unsigned long line,
const char* msg)
void reporter<specialized>::send(severity s, const char* file, unsigned long line, const char* msg)
{
std::ostringstream os;
if (line) os << file << ':' << line << '\n';

if( line )
{
os << file << ':' << line << '\n';
}

os << msg;
auto failure = os.str();
if (s == severity::fatal)
const auto failure = os.str();

if( s == severity::fatal )
{
FAIL(failure);
}

Laden…
Abbrechen
Speichern