| 40 | pFileStrategy_ = std::move(pFileStrategy); |
| 41 | } |
| 42 | void BasicFileDriver::Flush() |
| 43 | { |
| 44 | if (pFileStrategy_) { |
| 45 | if (auto pStream = pFileStrategy_->GetFileStream()) { |
| 46 | pStream->flush(); |
| 47 | } |
| 48 | } |
| 49 | else { |
| 50 | pmlog_panic_("BasicFileDriver flushed without a file strategy set"); |
| 51 | } |
| 52 | } |
| 53 | } |
nothing calls this directly
no test coverage detected