aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/direct_io.cpp
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /util/stream/direct_io.cpp
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/direct_io.cpp')
-rw-r--r--util/stream/direct_io.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/direct_io.cpp b/util/stream/direct_io.cpp
index 9f7de8e613..649033af34 100644
--- a/util/stream/direct_io.cpp
+++ b/util/stream/direct_io.cpp
@@ -21,21 +21,21 @@ size_t TRandomAccessFileInput::DoSkip(size_t len) {
}
TRandomAccessFileOutput::TRandomAccessFileOutput(TDirectIOBufferedFile& file)
- : File(&file)
+ : File(&file)
{
}
void TRandomAccessFileOutput::DoWrite(const void* buf, size_t len) {
- File->Write(buf, len);
+ File->Write(buf, len);
}
void TRandomAccessFileOutput::DoFlush() {
- File->FlushData();
+ File->FlushData();
}
TBufferedFileOutputEx::TBufferedFileOutputEx(const TString& path, EOpenMode oMode, size_t buflen)
: TRandomAccessFileOutput(*(new TDirectIOBufferedFile(path, oMode, buflen)))
- , FileHolder(File)
+ , FileHolder(File)
{
}