aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/deprecated/mapped_file/mapped_file.cpp
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /library/cpp/deprecated/mapped_file/mapped_file.cpp
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/deprecated/mapped_file/mapped_file.cpp')
-rw-r--r--library/cpp/deprecated/mapped_file/mapped_file.cpp8
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 b0e4511299..9cee7da7c0 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();
}