diff options
| author | cerevra <[email protected]> | 2022-02-10 16:45:58 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:58 +0300 | 
| commit | bf41dd01f6c920583e9faae7cd55ed25e547e052 (patch) | |
| tree | ec7c8c285ffa648a5c5efeff453787a15ab811ac /library/cpp/http/io/stream.cpp | |
| parent | e2c3e3004f7cd68441cefcfa4aaccd3d8051c846 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/io/stream.cpp')
| -rw-r--r-- | library/cpp/http/io/stream.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp index 6689be684fc..89942c47488 100644 --- a/library/cpp/http/io/stream.cpp +++ b/library/cpp/http/io/stream.cpp @@ -139,7 +139,7 @@ public:          , Buffered_(Slave_, SuggestBufferSize())          , ChunkedInput_(nullptr)          , Input_(nullptr) -        , FirstLine_(ReadFirstLine(Buffered_)) +        , FirstLine_(ReadFirstLine(Buffered_))           , Headers_(&Buffered_)          , KeepAlive_(false)          , HasContentLength_(false) @@ -151,12 +151,12 @@ public:          Y_ASSERT(Input_);      } -    static TString ReadFirstLine(TBufferedInput& in) { -        TString s; -        Y_ENSURE_EX(in.ReadLine(s), THttpReadException() << "Failed to get first line"); -        return s; -    } - +    static TString ReadFirstLine(TBufferedInput& in) {  +        TString s;  +        Y_ENSURE_EX(in.ReadLine(s), THttpReadException() << "Failed to get first line");  +        return s;  +    }  +       inline ~TImpl() {      } | 
