From 1251210a4fee94f7ced43555962c775d882f2645 Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Mon, 20 Jan 2025 12:07:04 -0500 Subject: [PATCH] Update comment --- cpp/include/kvikio/file_handle.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/include/kvikio/file_handle.hpp b/cpp/include/kvikio/file_handle.hpp index 4585f01580..d4d9e6fa66 100644 --- a/cpp/include/kvikio/file_handle.hpp +++ b/cpp/include/kvikio/file_handle.hpp @@ -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 pread(void* buf, std::size_t size, @@ -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 pwrite(const void* buf, std::size_t size,