aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authordima-zakharov <dima-zakharov@yandex-team.ru>2022-02-10 16:46:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:02 +0300
commit41e8c41790ddd8d92722a09f7d4e1934aefff0c5 (patch)
tree2f175d77fb38a4093ccc33353129ccff1e7db7ce /util
parented935c8a4c7e6ca561c19047402b0f7442175b51 (diff)
downloadydb-41e8c41790ddd8d92722a09f7d4e1934aefff0c5.tar.gz
Restoring authorship annotation for <dima-zakharov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/system/filemap.cpp8
-rw-r--r--util/system/filemap.h10
2 files changed, 9 insertions, 9 deletions
diff --git a/util/system/filemap.cpp b/util/system/filemap.cpp
index 7454a4cb94..cc8f0b4889 100644
--- a/util/system/filemap.cpp
+++ b/util/system/filemap.cpp
@@ -431,10 +431,10 @@ bool TMemoryMap::IsWritable() const noexcept {
return Impl_->IsWritable();
}
-TMemoryMap::EOpenMode TMemoryMap::GetMode() const noexcept {
- return Impl_->GetMode();
-}
-
+TMemoryMap::EOpenMode TMemoryMap::GetMode() const noexcept {
+ return Impl_->GetMode();
+}
+
TFile TMemoryMap::GetFile() const noexcept {
return Impl_->GetFile();
}
diff --git a/util/system/filemap.h b/util/system/filemap.h
index 11be64bff4..645e01fddc 100644
--- a/util/system/filemap.h
+++ b/util/system/filemap.h
@@ -89,7 +89,7 @@ public:
i64 Length() const noexcept;
bool IsOpen() const noexcept;
bool IsWritable() const noexcept;
- EOpenMode GetMode() const noexcept;
+ EOpenMode GetMode() const noexcept;
TFile GetFile() const noexcept;
void SetSequential();
@@ -150,10 +150,10 @@ public:
return Map_.IsWritable();
}
- EOpenMode GetMode() const noexcept {
- return Map_.GetMode();
- }
-
+ EOpenMode GetMode() const noexcept {
+ return Map_.GetMode();
+ }
+
inline void* Ptr() const noexcept {
return Region_.MappedData();
}