| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected