summaryrefslogtreecommitdiffstats
path: root/util/stream/mem.cpp
diff options
context:
space:
mode:
authoralbert <[email protected]>2022-02-10 16:48:14 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:14 +0300
commit9f25ef3232c288ca664ceee6c376cf64e4349a2e (patch)
treeb192eaf3150845f7302fafd460a972b0439d6fe5 /util/stream/mem.cpp
parent6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/mem.cpp')
-rw-r--r--util/stream/mem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stream/mem.cpp b/util/stream/mem.cpp
index 22a3339e274..a91c90a3058 100644
--- a/util/stream/mem.cpp
+++ b/util/stream/mem.cpp
@@ -52,11 +52,11 @@ void TMemoryOutput::DoUndo(size_t len) {
}
void TMemoryOutput::DoWrite(const void* buf, size_t len) {
- char* end = Buf_ + len;
+ char* end = Buf_ + len;
Y_ENSURE(end <= End_, TStringBuf("memory output stream exhausted"));
memcpy(Buf_, buf, len);
- Buf_ = end;
+ Buf_ = end;
}
void TMemoryOutput::DoWriteC(char c) {