| 30 | class ReadFileAdaptor : public braft::BufferedSequentialReadFileAdaptor { |
| 31 | public: |
| 32 | ReadFileAdaptor(braft::FileAdaptor* file) |
| 33 | : _file(file), _offset(0) |
| 34 | {} |
| 35 | ~ReadFileAdaptor() { |
| 36 | if (_file) { |
| 37 | _file->close(); |
nothing calls this directly
no outgoing calls
no test coverage detected