diff options
author | tobo <[email protected]> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:27 +0300 |
commit | 55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/stream/mem.cpp | |
parent | 7fe839092527589b38f014d854c51565b3c1adfa (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/stream/mem.cpp')
-rw-r--r-- | util/stream/mem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/stream/mem.cpp b/util/stream/mem.cpp index 4f2b73082d2..22a3339e274 100644 --- a/util/stream/mem.cpp +++ b/util/stream/mem.cpp @@ -39,7 +39,7 @@ void TMemoryInput::DoUndo(size_t len) { TMemoryOutput::~TMemoryOutput() = default; size_t TMemoryOutput::DoNext(void** ptr) { - Y_ENSURE(Buf_ < End_, TStringBuf("memory output stream exhausted")); + Y_ENSURE(Buf_ < End_, TStringBuf("memory output stream exhausted")); *ptr = Buf_; size_t bufferSize = End_ - Buf_; Buf_ = End_; @@ -53,13 +53,13 @@ void TMemoryOutput::DoUndo(size_t len) { void TMemoryOutput::DoWrite(const void* buf, size_t len) { char* end = Buf_ + len; - Y_ENSURE(end <= End_, TStringBuf("memory output stream exhausted")); + Y_ENSURE(end <= End_, TStringBuf("memory output stream exhausted")); memcpy(Buf_, buf, len); Buf_ = end; } void TMemoryOutput::DoWriteC(char c) { - Y_ENSURE(Buf_ < End_, TStringBuf("memory output stream exhausted")); + Y_ENSURE(Buf_ < End_, TStringBuf("memory output stream exhausted")); *Buf_++ = c; } |