aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/deprecated/mapped_file/mapped_file.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/deprecated/mapped_file/mapped_file.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. 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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/deprecated/mapped_file/mapped_file.h b/library/cpp/deprecated/mapped_file/mapped_file.h
index 45859ed65a..1675ccc3f7 100644
--- a/library/cpp/deprecated/mapped_file/mapped_file.h
+++ b/library/cpp/deprecated/mapped_file/mapped_file.h
@@ -30,18 +30,18 @@ public:
term();
}
- explicit TMappedFile(const TString& name) {
+ explicit TMappedFile(const TString& name) {
Map_ = nullptr;
init(name, TFileMap::oRdOnly);
}
TMappedFile(const TFile& file, TFileMap::EOpenMode om = TFileMap::oRdOnly, const char* dbgName = "unknown");
- void init(const TString& name);
+ void init(const TString& name);
- void init(const TString& name, TFileMap::EOpenMode om);
+ void init(const TString& name, TFileMap::EOpenMode om);
- void init(const TString& name, size_t length, TFileMap::EOpenMode om);
+ void init(const TString& name, size_t length, TFileMap::EOpenMode om);
void init(const TFile&, TFileMap::EOpenMode om = TFileMap::oRdOnly, const char* dbgName = "unknown");
@@ -66,7 +66,7 @@ public:
void precharge(size_t pos = 0, size_t size = (size_t)-1) const;
- void swap(TMappedFile& file) noexcept {
+ void swap(TMappedFile& file) noexcept {
DoSwap(Map_, file.Map_);
}
};