aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/str.h
diff options
context:
space:
mode:
authormyltsev <myltsev@yandex-team.ru>2022-02-10 16:46:03 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:03 +0300
commitfc361854fd6ee8d747229b090f0b8018e260d1fb (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/stream/str.h
parent9166d66c30c23c9e85a7c88185a068987148d23f (diff)
downloadydb-fc361854fd6ee8d747229b090f0b8018e260d1fb.tar.gz
Restoring authorship annotation for <myltsev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/str.h')
-rw-r--r--util/stream/str.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/stream/str.h b/util/stream/str.h
index adac7ec4bc..028bd572c0 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())
{
}