aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/str.cpp
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commit7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (patch)
tree9e9943579e5a14679af7cd2cda3c36d8c0b775d3 /util/stream/str.cpp
parent676340c42e269f3070f194d160f42a83a10568d4 (diff)
downloadydb-7a4979e6211c3e78c7f9041d4a9e5d3405343c36.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/str.cpp')
-rw-r--r--util/stream/str.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/stream/str.cpp b/util/stream/str.cpp
index 13f0e8ef28..09ef0b911e 100644
--- a/util/stream/str.cpp
+++ b/util/stream/str.cpp
@@ -2,7 +2,7 @@
static constexpr size_t MIN_BUFFER_GROW_SIZE = 16;
-TStringInput::~TStringInput() = default;
+TStringInput::~TStringInput() = default;
size_t TStringInput::DoNext(const void** ptr, size_t len) {
len = Min(len, S_->size() - Pos_);
@@ -16,7 +16,7 @@ void TStringInput::DoUndo(size_t len) {
Pos_ -= len;
}
-TStringOutput::~TStringOutput() = default;
+TStringOutput::~TStringOutput() = default;
size_t TStringOutput::DoNext(void** ptr) {
if (S_->size() == S_->capacity()) {
@@ -41,4 +41,4 @@ void TStringOutput::DoWriteC(char c) {
S_->push_back(c);
}
-TStringStream::~TStringStream() = default;
+TStringStream::~TStringStream() = default;