summaryrefslogtreecommitdiffstats
path: root/library/cpp/deprecated/mapped_file/mapped_file.h
diff options
context:
space:
mode:
authoragorodilov <[email protected]>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/deprecated/mapped_file/mapped_file.h
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/deprecated/mapped_file/mapped_file.h')
-rw-r--r--library/cpp/deprecated/mapped_file/mapped_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/deprecated/mapped_file/mapped_file.h b/library/cpp/deprecated/mapped_file/mapped_file.h
index 865aafe21d1..45859ed65a0 100644
--- a/library/cpp/deprecated/mapped_file/mapped_file.h
+++ b/library/cpp/deprecated/mapped_file/mapped_file.h
@@ -61,7 +61,7 @@ public:
void* getData(size_t pos = 0) const {
Y_ASSERT(!Map_ || (pos <= getSize()));
- return (Map_ ? (void*)((unsigned char*)Map_->Ptr() + pos) : nullptr);
+ return (Map_ ? (void*)((unsigned char*)Map_->Ptr() + pos) : nullptr);
}
void precharge(size_t pos = 0, size_t size = (size_t)-1) const;