MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / ~GTestLog

Method ~GTestLog

rtpose_wrapper/src/gtest/gtest-all.cpp:8272–8278  ·  view source on GitHub ↗

Flushes the buffers and, if severity is GTEST_FATAL, aborts the program.

Source from the content-addressed store, hash-verified

8270
8271// Flushes the buffers and, if severity is GTEST_FATAL, aborts the program.
8272GTestLog::~GTestLog() {
8273 GetStream() << ::std::endl;
8274 if (severity_ == GTEST_FATAL) {
8275 fflush(stderr);
8276 posix::Abort();
8277 }
8278}
8279// Disable Microsoft deprecation warnings for POSIX functions called from
8280// this class (creat, dup, dup2, and close)
8281#ifdef _MSC_VER

Callers

nothing calls this directly

Calls 1

AbortFunction · 0.70

Tested by

no test coverage detected