MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / ~TempFile

Method ~TempFile

extlibs/catch/include/catch/catch.hpp:11627–11635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11625#endif
11626
11627 TempFile::~TempFile() {
11628 // TBD: What to do about errors here?
11629 std::fclose(m_file);
11630 // We manually create the file on Windows only, on Linux
11631 // it will be autodeleted
11632#if defined(_MSC_VER)
11633 std::remove(m_buffer);
11634#endif
11635 }
11636
11637 FILE* TempFile::getFile() {
11638 return m_file;

Callers

nothing calls this directly

Calls 1

removeFunction · 0.85

Tested by

no test coverage detected