diff options
author | yazevnul <[email protected]> | 2022-02-10 16:46:46 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:46 +0300 |
commit | 8cbc307de0221f84c80c42dcbe07d40727537e2c (patch) | |
tree | 625d5a673015d1df891e051033e9fcde5c7be4e5 /util/stream/file.cpp | |
parent | 30d1ef3941e0dc835be7609de5ebee66958f215a (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/file.cpp')
-rw-r--r-- | util/stream/file.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/stream/file.cpp b/util/stream/file.cpp index dc5d2f63112..348a7bfced9 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()); |