diff options
author | Alexander Andreev <carzil@yandex.ru> | 2022-02-10 16:51:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:47 +0300 |
commit | 6210d645be8ae078e4d808278ab98f98e4cc66c5 (patch) | |
tree | 9a045c2bb4d58c547db3b266494e1b0c72870ccd /util | |
parent | 68a7c0941a56f80e7e4a500f483ae9b33be1084c (diff) | |
download | ydb-6210d645be8ae078e4d808278ab98f98e4cc66c5.tar.gz |
Restoring authorship annotation for Alexander Andreev <carzil@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r-- | util/system/filemap.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/util/system/filemap.h b/util/system/filemap.h index 11be64bff4..31c14cfd01 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 }; |