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
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/stream/str.h
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 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 19bbc4643b..028bd572c0 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;
/**