diff options
author | sankear <sankear@yandex-team.ru> | 2022-02-10 16:50:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:10 +0300 |
commit | 7377d7b033ffbef85e9bb0bf35091a8e79ed422c (patch) | |
tree | fca7665beced1b829e5ab628094d3721a66c1001 /library/cpp/deprecated/mapped_file/mapped_file.h | |
parent | f054f783b50cf93fa12c0cc6375769c21f3fd27e (diff) | |
download | ydb-7377d7b033ffbef85e9bb0bf35091a8e79ed422c.tar.gz |
Restoring authorship annotation for <sankear@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/deprecated/mapped_file/mapped_file.h')
-rw-r--r-- | library/cpp/deprecated/mapped_file/mapped_file.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/deprecated/mapped_file/mapped_file.h b/library/cpp/deprecated/mapped_file/mapped_file.h index 45859ed65a..ec59737a17 100644 --- a/library/cpp/deprecated/mapped_file/mapped_file.h +++ b/library/cpp/deprecated/mapped_file/mapped_file.h @@ -32,10 +32,10 @@ public: explicit TMappedFile(const TString& name) { Map_ = nullptr; - init(name, TFileMap::oRdOnly); + init(name, TFileMap::oRdOnly); } - TMappedFile(const TFile& file, TFileMap::EOpenMode om = TFileMap::oRdOnly, const char* dbgName = "unknown"); + TMappedFile(const TFile& file, TFileMap::EOpenMode om = TFileMap::oRdOnly, const char* dbgName = "unknown"); void init(const TString& name); @@ -43,8 +43,8 @@ public: void init(const TString& name, size_t length, TFileMap::EOpenMode om); - void init(const TFile&, TFileMap::EOpenMode om = TFileMap::oRdOnly, const char* dbgName = "unknown"); - + void init(const TFile&, TFileMap::EOpenMode om = TFileMap::oRdOnly, const char* dbgName = "unknown"); + void flush(); void term() { |