diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/deprecated/mapped_file/mapped_file.cpp | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) | |
download | ydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/deprecated/mapped_file/mapped_file.cpp b/library/cpp/deprecated/mapped_file/mapped_file.cpp index 50f1c98056..b0e4511299 100644 --- a/library/cpp/deprecated/mapped_file/mapped_file.cpp +++ b/library/cpp/deprecated/mapped_file/mapped_file.cpp @@ -29,7 +29,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()); + TMappedFile newFile(map.Get(), name.data()); Y_UNUSED(map.Release()); newFile.swap(*this); newFile.term(); @@ -37,7 +37,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()); + TMappedFile newFile(map.Get(), name.data()); Y_UNUSED(map.Release()); newFile.swap(*this); newFile.term(); @@ -53,7 +53,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()); + TMappedFile newFile(map.Get(), name.data()); Y_UNUSED(map.Release()); newFile.swap(*this); newFile.term(); |