| 269 | } |
| 270 | |
| 271 | FileReader FileReader::clone() const { |
| 272 | FileReader c(*this); |
| 273 | c.cursor_ = this->cursor_; |
| 274 | return c; |
| 275 | } |
| 276 | |
| 277 | void FileReader::seek(size_t pos) { |
| 278 | if (pos > impl_->size()) throw std::out_of_range("seek out of range"); |
no outgoing calls
no test coverage detected