Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcrimsontianyu committed Jan 20, 2025
1 parent 2c9c697 commit 1251210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/include/kvikio/file_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class FileHandle {
* @return Future that on completion returns the size of bytes that were successfully read.
*
* @note The `std::future` object's `wait()` or `get()` should not be called after the lifetime of
* the FileHandle object. Otherwise, the behavior is undefined.
* the FileHandle object ends. Otherwise, the behavior is undefined.
*/
std::future<std::size_t> pread(void* buf,
std::size_t size,
Expand Down Expand Up @@ -287,7 +287,7 @@ class FileHandle {
* @return Future that on completion returns the size of bytes that were successfully written.
*
* @note The `std::future` object's `wait()` or `get()` should not be called after the lifetime of
* the FileHandle object. Otherwise, the behavior is undefined.
* the FileHandle object ends. Otherwise, the behavior is undefined.
*/
std::future<std::size_t> pwrite(const void* buf,
std::size_t size,
Expand Down

0 comments on commit 1251210

Please sign in to comment.