aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/builder.h
diff options
context:
space:
mode:
authorVasily Gerasimov <UgnineSirdis@gmail.com>2022-02-10 16:49:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:10 +0300
commit1eb755fbca92172a6aec2f57371b2b3a19dfab43 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/string/builder.h
parent6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (diff)
downloadydb-1eb755fbca92172a6aec2f57371b2b3a19dfab43.tar.gz
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/string/builder.h')
-rw-r--r--util/string/builder.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/string/builder.h b/util/string/builder.h
index 11eb840e23..7b54821151 100644
--- a/util/string/builder.h
+++ b/util/string/builder.h
@@ -4,14 +4,14 @@
#include <utility>
#include <util/generic/string.h>
-namespace NPrivateStringBuilder {
+namespace NPrivateStringBuilder {
class TStringBuilder: public TString {
public:
inline TStringBuilder()
: Out(*this)
{
}
-
+
TStringBuilder(TStringBuilder&& rhs)
: TString(std::move(rhs))
, Out(*this)
@@ -31,9 +31,9 @@ namespace NPrivateStringBuilder {
template <class T>
static inline TStringBuilder&& operator<<(TStringBuilder&& builder, const T& t) {
builder.Out << t;
-
+
return std::move(builder);
}
-}
-
-using TStringBuilder = NPrivateStringBuilder::TStringBuilder;
+}
+
+using TStringBuilder = NPrivateStringBuilder::TStringBuilder;