Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
Signed-off-by: jinjiabao.jjb <[email protected]>
  • Loading branch information
jinjiabao.jjb committed Jan 23, 2025
1 parent 1b3ac56 commit b6f17d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/pyramid.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SubReader : public Reader {

void
AsyncRead(uint64_t offset, uint64_t len, void* dest, CallBack callback) override {
throw std::out_of_range("No support for SubReader AsyncRead");
throw std::runtime_error("No support for SubReader AsyncRead");

Check warning on line 42 in src/index/pyramid.h

View check run for this annotation

Codecov / codecov/patch

src/index/pyramid.h#L41-L42

Added lines #L41 - L42 were not covered by tests
}

uint64_t
Expand Down

0 comments on commit b6f17d3

Please sign in to comment.