aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/file.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/stream/file.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/file.cpp')
-rw-r--r--util/stream/file.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/stream/file.cpp b/util/stream/file.cpp
index 348a7bfced..dc5d2f6311 100644
--- a/util/stream/file.cpp
+++ b/util/stream/file.cpp
@@ -30,7 +30,7 @@ size_t TUnbufferedFileInput::DoSkip(size_t len) {
* actually doing one read is cheaper. Experiments show that the
* border that separates two implementations performance-wise lies
* in the range of 384-512 bytes (assuming that the file is in OS cache). */
- return IInputStream::DoSkip(len);
+ return IInputStream::DoSkip(len);
}
/* TFile::Seek can seek beyond the end of file, so we need to do
@@ -81,14 +81,14 @@ public:
};
TMappedFileInput::TMappedFileInput(const TFile& file)
- : TMemoryInput(nullptr, 0)
+ : TMemoryInput(nullptr, 0)
, Impl_(new TImpl(file))
{
Reset(Impl_->Data(), Impl_->Size());
}
TMappedFileInput::TMappedFileInput(const TString& path)
- : TMemoryInput(nullptr, 0)
+ : TMemoryInput(nullptr, 0)
, Impl_(new TImpl(TFile(path, OpenExisting | RdOnly)))
{
Reset(Impl_->Data(), Impl_->Size());