aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/file.h
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commitbf9e69a933f89af083d895185f01ed65e4d90766 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/system/file.h
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
downloadydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/system/file.h')
-rw-r--r--util/system/file.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/file.h b/util/system/file.h
index 538d006260..9502e159b6 100644
--- a/util/system/file.h
+++ b/util/system/file.h
@@ -71,11 +71,11 @@ public:
}
inline TFileHandle(TFileHandle&& other) noexcept
- : Fd_(other.Fd_)
- {
- other.Fd_ = INVALID_FHANDLE;
- }
-
+ : Fd_(other.Fd_)
+ {
+ other.Fd_ = INVALID_FHANDLE;
+ }
+
TFileHandle(const TString& fName, EOpenMode oMode) noexcept;
inline ~TFileHandle() {
@@ -221,5 +221,5 @@ private:
TFile Duplicate(FILE*);
TFile Duplicate(int);
-
+
bool PosixDisableReadAhead(FHANDLE fileHandle, void* addr) noexcept;