aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAlexander Andreev <carzil@yandex.ru>2022-02-10 16:51:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:47 +0300
commitcbda1e9b45823b79d9d7aad6d9f30db788f07615 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util
parent6210d645be8ae078e4d808278ab98f98e4cc66c5 (diff)
downloadydb-cbda1e9b45823b79d9d7aad6d9f30db788f07615.tar.gz
Restoring authorship annotation for Alexander Andreev <carzil@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/system/filemap.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/system/filemap.h b/util/system/filemap.h
index 31c14cfd01..11be64bff4 100644
--- a/util/system/filemap.h
+++ b/util/system/filemap.h
@@ -293,13 +293,13 @@ public:
~TMappedAllocation() {
Dealloc();
}
- TMappedAllocation(TMappedAllocation&& other) {
- this->swap(other);
- }
- TMappedAllocation& operator=(TMappedAllocation&& other) {
- this->swap(other);
- return *this;
- }
+ TMappedAllocation(TMappedAllocation&& other) {
+ this->swap(other);
+ }
+ TMappedAllocation& operator=(TMappedAllocation&& other) {
+ this->swap(other);
+ return *this;
+ }
void* Alloc(size_t size, void* addr = nullptr);
void Dealloc();
void* Ptr() const {
@@ -320,11 +320,11 @@ public:
void swap(TMappedAllocation& with);
private:
- void* Ptr_ = nullptr;
- size_t Size_ = 0;
- bool Shared_ = false;
+ void* Ptr_ = nullptr;
+ size_t Size_ = 0;
+ bool Shared_ = false;
#ifdef _win_
- void* Mapping_ = nullptr;
+ void* Mapping_ = nullptr;
#endif
};