summaryrefslogtreecommitdiffstats
path: root/util/stream/mem.cpp
diff options
context:
space:
mode:
authorAlexey Salmin <[email protected]>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:37 +0300
commit3c5b1607b38f637d2f3313791ed25c2e080d2647 (patch)
tree99be7b96e7c66612fbca94331100ef3b5fedcb88 /util/stream/mem.cpp
parentde89752358147d7b25ef59a85b431bb564068a49 (diff)
Restoring authorship annotation for Alexey Salmin <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/mem.cpp')
-rw-r--r--util/stream/mem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/mem.cpp b/util/stream/mem.cpp
index 22a3339e274..996e58b1884 100644
--- a/util/stream/mem.cpp
+++ b/util/stream/mem.cpp
@@ -58,8 +58,8 @@ void TMemoryOutput::DoWrite(const void* buf, size_t len) {
memcpy(Buf_, buf, len);
Buf_ = end;
}
-
-void TMemoryOutput::DoWriteC(char c) {
+
+void TMemoryOutput::DoWriteC(char c) {
Y_ENSURE(Buf_ < End_, TStringBuf("memory output stream exhausted"));
- *Buf_++ = c;
-}
+ *Buf_++ = c;
+}