aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/buffer.cpp
diff options
context:
space:
mode:
authorAlexey Salmin <alexey.salmin@gmail.com>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit71af077a5dfe7e9f932a508422c2dac81a57ebc0 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/stream/buffer.cpp
parent3c5b1607b38f637d2f3313791ed25c2e080d2647 (diff)
downloadydb-71af077a5dfe7e9f932a508422c2dac81a57ebc0.tar.gz
Restoring authorship annotation for Alexey Salmin <alexey.salmin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/stream/buffer.cpp')
-rw-r--r--util/stream/buffer.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/stream/buffer.cpp b/util/stream/buffer.cpp
index ad4212f0cd..2facece4ea 100644
--- a/util/stream/buffer.cpp
+++ b/util/stream/buffer.cpp
@@ -30,10 +30,10 @@ public:
Data_.Append((const char*)buf, len);
}
- inline void DoWriteC(char c) {
- Data_.Append(c);
- }
-
+ inline void DoWriteC(char c) {
+ Data_.Append(c);
+ }
+
inline TBuffer& Buffer() const noexcept {
return Data_;
}
@@ -87,10 +87,10 @@ void TBufferOutput::DoWrite(const void* buf, size_t len) {
Impl_->DoWrite(buf, len);
}
-void TBufferOutput::DoWriteC(char c) {
- Impl_->DoWriteC(c);
-}
-
+void TBufferOutput::DoWriteC(char c) {
+ Impl_->DoWriteC(c);
+}
+
TBufferInput::TBufferInput(const TBuffer& buffer)
: Buf_(buffer)
, Readed_(0)