diff options
| author | myltsev <[email protected]> | 2022-02-10 16:46:03 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:03 +0300 |
| commit | fc361854fd6ee8d747229b090f0b8018e260d1fb (patch) | |
| tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/stream/str.h | |
| parent | 9166d66c30c23c9e85a7c88185a068987148d23f (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/stream/str.h')
| -rw-r--r-- | util/stream/str.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/util/stream/str.h b/util/stream/str.h index adac7ec4bc2..028bd572c03 100644 --- a/util/stream/str.h +++ b/util/stream/str.h @@ -26,7 +26,7 @@ public: * this stream is in use. * * For reading data from `TStringBuf`s, see `TMemoryInput` (`util/stream/mem.h`). - * + * * @param s String to read from. */ inline TStringInput(const TString& s) noexcept @@ -108,27 +108,27 @@ private: * String input/output stream, similar to `std::stringstream`. */ class TStringStream: private TEmbedPolicy<TString>, public TStringInput, public TStringOutput { - using TEmbeddedString = TEmbedPolicy<TString>; + using TEmbeddedString = TEmbedPolicy<TString>; public: inline TStringStream() - : TEmbeddedString() - , TStringInput(*TEmbeddedString::Ptr()) - , TStringOutput(*TEmbeddedString::Ptr()) + : TEmbeddedString() + , TStringInput(*TEmbeddedString::Ptr()) + , TStringOutput(*TEmbeddedString::Ptr()) { } inline TStringStream(const TString& string) - : TEmbeddedString(string) - , TStringInput(*TEmbeddedString::Ptr()) - , TStringOutput(*TEmbeddedString::Ptr()) + : TEmbeddedString(string) + , TStringInput(*TEmbeddedString::Ptr()) + , TStringOutput(*TEmbeddedString::Ptr()) { } inline TStringStream(const TStringStream& other) - : TEmbeddedString(other.Str()) - , TStringInput(*TEmbeddedString::Ptr()) - , TStringOutput(*TEmbeddedString::Ptr()) + : TEmbeddedString(other.Str()) + , TStringInput(*TEmbeddedString::Ptr()) + , TStringOutput(*TEmbeddedString::Ptr()) { } |
