MCPcopy Create free account
hub / github.com/Profactor/cv-plot / ~TempFile

Method ~TempFile

CvPlot/ext/catch2/inc/catch.hpp:11971–11979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11969#endif
11970
11971 TempFile::~TempFile() {
11972 // TBD: What to do about errors here?
11973 std::fclose(m_file);
11974 // We manually create the file on Windows only, on Linux
11975 // it will be autodeleted
11976#if defined(_MSC_VER)
11977 std::remove(m_buffer);
11978#endif
11979 }
11980
11981 FILE* TempFile::getFile() {
11982 return m_file;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected