MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / ~TempFile

Method ~TempFile

tests/catch.hpp:9608–9616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9606#endif
9607
9608 TempFile::~TempFile() {
9609 // TBD: What to do about errors here?
9610 std::fclose(m_file);
9611 // We manually create the file on Windows only, on Linux
9612 // it will be autodeleted
9613#if defined(_MSC_VER)
9614 std::remove(m_buffer);
9615#endif
9616 }
9617
9618 FILE* TempFile::getFile() {
9619 return m_file;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected