Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcrimsontianyu committed Feb 4, 2025
1 parent e1b26e2 commit 343228a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/io/utilities/datasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class memory_mapped_source : public file_source {
explicit memory_mapped_source(char const* filepath, size_t offset, size_t max_size_estimate)
: file_source(filepath)
{
if (size() != 0) {
if (this->size() != 0) {
// Memory mapping is not exclusive, so we can include the whole region we expect to read
map(_kvikio_file.fd(), offset, max_size_estimate);
}
Expand Down

0 comments on commit 343228a

Please sign in to comment.