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