diff options
author | Ilnur Khuziev <ilnur.khuziev@yandex.ru> | 2022-02-10 16:46:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:14 +0300 |
commit | 60040c91ffe701a84689b2c6310ff845e65cff42 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/deprecated/mapped_file/mapped_file.cpp | |
parent | 736dcd8ca259457a136f2f9f9168c44643914323 (diff) | |
download | ydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz |
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/deprecated/mapped_file/mapped_file.cpp')
-rw-r--r-- | library/cpp/deprecated/mapped_file/mapped_file.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/deprecated/mapped_file/mapped_file.cpp b/library/cpp/deprecated/mapped_file/mapped_file.cpp index 9cee7da7c0..b0e4511299 100644 --- a/library/cpp/deprecated/mapped_file/mapped_file.cpp +++ b/library/cpp/deprecated/mapped_file/mapped_file.cpp @@ -30,7 +30,7 @@ void TMappedFile::precharge(size_t off, size_t size) const { void TMappedFile::init(const TString& name) { THolder<TFileMap> map(new TFileMap(name)); TMappedFile newFile(map.Get(), name.data()); - Y_UNUSED(map.Release()); + Y_UNUSED(map.Release()); newFile.swap(*this); newFile.term(); } @@ -38,7 +38,7 @@ void TMappedFile::init(const TString& name) { void TMappedFile::init(const TString& name, size_t length, TFileMap::EOpenMode om) { THolder<TFileMap> map(new TFileMap(name, length, om)); TMappedFile newFile(map.Get(), name.data()); - Y_UNUSED(map.Release()); + Y_UNUSED(map.Release()); newFile.swap(*this); newFile.term(); } @@ -46,7 +46,7 @@ void TMappedFile::init(const TString& name, size_t length, TFileMap::EOpenMode o void TMappedFile::init(const TFile& file, TFileMap::EOpenMode om, const char* dbgName) { THolder<TFileMap> map(new TFileMap(file, om)); TMappedFile newFile(map.Get(), dbgName); - Y_UNUSED(map.Release()); + Y_UNUSED(map.Release()); newFile.swap(*this); newFile.term(); } @@ -54,7 +54,7 @@ void TMappedFile::init(const TFile& file, TFileMap::EOpenMode om, const char* db void TMappedFile::init(const TString& name, TFileMap::EOpenMode om) { THolder<TFileMap> map(new TFileMap(name, om)); TMappedFile newFile(map.Get(), name.data()); - Y_UNUSED(map.Release()); + Y_UNUSED(map.Release()); newFile.swap(*this); newFile.term(); } |