diff options
author | dima-zakharov <dima-zakharov@yandex-team.ru> | 2022-02-10 16:46:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:02 +0300 |
commit | 9ab30620977aa96ae9e9da959e2f7e1370cb796d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/filemap.h | |
parent | 41e8c41790ddd8d92722a09f7d4e1934aefff0c5 (diff) | |
download | ydb-9ab30620977aa96ae9e9da959e2f7e1370cb796d.tar.gz |
Restoring authorship annotation for <dima-zakharov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/filemap.h')
-rw-r--r-- | util/system/filemap.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/filemap.h b/util/system/filemap.h index 645e01fddcc..11be64bff47 100644 --- a/util/system/filemap.h +++ b/util/system/filemap.h @@ -89,7 +89,7 @@ public: i64 Length() const noexcept; bool IsOpen() const noexcept; bool IsWritable() const noexcept; - EOpenMode GetMode() const noexcept; + EOpenMode GetMode() const noexcept; TFile GetFile() const noexcept; void SetSequential(); @@ -150,10 +150,10 @@ public: return Map_.IsWritable(); } - EOpenMode GetMode() const noexcept { - return Map_.GetMode(); - } - + EOpenMode GetMode() const noexcept { + return Map_.GetMode(); + } + inline void* Ptr() const noexcept { return Region_.MappedData(); } |