Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'example/use_cases.cpp')
-rw-r--r--example/use_cases.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/use_cases.cpp b/example/use_cases.cpp
index 26058a52..740312d6 100644
--- a/example/use_cases.cpp
+++ b/example/use_cases.cpp
@@ -61,7 +61,7 @@ void read_entire_file1()
// In case of racy truncation of file by third party to new length, adjust buffer to
// bytes actually read
- buffer.resize(filled[0].len);
+ buffer.resize(filled[0].size());
//! [file_entire_file1]
}