summaryrefslogtreecommitdiffstats
path: root/util/stream
diff options
context:
space:
mode:
authortobo <[email protected]>2022-02-28 12:04:09 +0300
committertobo <[email protected]>2022-02-28 12:04:09 +0300
commitf23d808d6c8b0f50c51b44baad1f919cab389cde (patch)
treeee9e3d708973bee4d463605de2414bbf7946d853 /util/stream
parentfe01c5041a843ee05cf4bf58b020eba53b909caf (diff)
clang-tidy - move-constructor and move-assignment operators should be marked noexcept + pass some args by reference
ref:5da43163e6b3c2499597234dc80ad47042259013
Diffstat (limited to 'util/stream')
-rw-r--r--util/stream/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stream/file.cpp b/util/stream/file.cpp
index dc5d2f63112..0d3fbfc759c 100644
--- a/util/stream/file.cpp
+++ b/util/stream/file.cpp
@@ -72,7 +72,7 @@ void TUnbufferedFileOutput::DoFlush() {
class TMappedFileInput::TImpl: public TBlob {
public:
- inline TImpl(TFile file)
+ inline TImpl(const TFile& file)
: TBlob(TBlob::FromFile(file))
{
}