MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / ~PErrorWriter

Method ~PErrorWriter

src/thundersvm/util/log.cpp:2535–2545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2533// PErrorWriter
2534
2535 PErrorWriter::~PErrorWriter(void) {
2536 if (m_proceed) {
2537#if ELPP_COMPILER_MSVC
2538 char buff[256];
2539 strerror_s(buff, 256, errno);
2540 m_logger->stream() << ": " << buff << " [" << errno << "]";
2541#else
2542 m_logger->stream() << ": " << strerror(errno) << " [" << errno << "]";
2543#endif
2544 }
2545 }
2546
2547// PerformanceTracker
2548

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected