| 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; |