| 413 | } |
| 414 | |
| 415 | MemoryFile::~MemoryFile() |
| 416 | { |
| 417 | if (_imp->data) { |
| 418 | try { |
| 419 | flush(eFlushTypeInvalidate, NULL, 0); |
| 420 | _imp->closeMapping(false); |
| 421 | } catch (const std::exception & e) { |
| 422 | std::cerr << e.what() << std::endl; |
| 423 | } |
| 424 | } |
| 425 | delete _imp; |
| 426 | } |
| 427 | |
| 428 | void |
| 429 | MemoryFile::remove() |
nothing calls this directly
no test coverage detected