aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/direct_io.cpp
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /util/stream/direct_io.cpp
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 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 649033af34..9f7de8e613 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)
{
}