Skip to content

Commit

Permalink
missed one more overload
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Feb 24, 2025
1 parent 2ebad98 commit f7e626e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cpp/src/io/utilities/datasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,17 @@ class user_datasource_wrapper : public datasource {
return source->host_read(offset, size);
}

std::future<size_t> host_read_async(size_t offset, size_t size, uint8_t* dst) override
{
return source->host_read_async(offset, size, dst);
}

std::future<std::unique_ptr<datasource::buffer>> host_read_async(size_t offset,
size_t size) override
{
return source->host_read_async(offset, size);
}

[[nodiscard]] bool supports_device_read() const override
{
return source->supports_device_read();
Expand Down

0 comments on commit f7e626e

Please sign in to comment.