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
commit863a59a65247c24db7cb06789bc5cf79d04da32f (patch)
tree139dc000c8cd4a40f5659e421b7c75135d080307 /util/system/file.h
parentf64e95a9eb9ab03240599eb9581c5a9102426a96 (diff)
downloadydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 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 9502e159b6f..538d0062604 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;