aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/str.h
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /util/stream/str.h
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
downloadydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/str.h')
-rw-r--r--util/stream/str.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/str.h b/util/stream/str.h
index 028bd572c0..19bbc4643b 100644
--- a/util/stream/str.h
+++ b/util/stream/str.h
@@ -4,10 +4,10 @@
#include "zerocopy_output.h"
#include <util/generic/string.h>
-#include <util/generic/noncopyable.h>
+#include <util/generic/noncopyable.h>
#include <util/generic/store_policy.h>
-/**
+/**
* @addtogroup Streams_Strings
* @{
*/
@@ -54,11 +54,11 @@ protected:
private:
const TString* S_;
size_t Pos_;
-
- friend class TStringStream;
+
+ friend class TStringStream;
};
-/**
+/**
* Stream for writing data into a string.
*/
class TStringOutput: public IZeroCopyOutput {
@@ -131,7 +131,7 @@ public:
, TStringOutput(*TEmbeddedString::Ptr())
{
}
-
+
inline TStringStream& operator=(const TStringStream& other) {
// All references remain alive, we need to change position only
Str() = other.Str();
@@ -139,7 +139,7 @@ public:
return *this;
}
-
+
~TStringStream() override;
/**