aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/buffer.h
diff options
context:
space:
mode:
authornikitamorozov <nikitamorozov@yandex-team.ru>2022-02-10 16:49:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:20 +0300
commit2342f2b56e674c21307fcb92a37853f950224d31 (patch)
tree7e3170fde6aea33759fe624ee5b7ec29de8af150 /util/stream/buffer.h
parent2896882074ce784b7cabc4f2f7c502db74b34b80 (diff)
downloadydb-2342f2b56e674c21307fcb92a37853f950224d31.tar.gz
Restoring authorship annotation for <nikitamorozov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/buffer.h')
-rw-r--r--util/stream/buffer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/buffer.h b/util/stream/buffer.h
index 9dc99dbe49..5956acd09b 100644
--- a/util/stream/buffer.h
+++ b/util/stream/buffer.h
@@ -1,7 +1,7 @@
#pragma once
#include "zerocopy.h"
-#include "zerocopy_output.h"
+#include "zerocopy_output.h"
#include <util/generic/ptr.h>
@@ -15,7 +15,7 @@ class TBuffer;
/**
* Output stream that writes into a `TBuffer`.
*/
-class TBufferOutput: public IZeroCopyOutput {
+class TBufferOutput: public IZeroCopyOutput {
public:
class TImpl;
@@ -46,8 +46,8 @@ public:
TBuffer& Buffer() const noexcept;
private:
- size_t DoNext(void** ptr) override;
- void DoUndo(size_t len) override;
+ size_t DoNext(void** ptr) override;
+ void DoUndo(size_t len) override;
void DoWrite(const void* buf, size_t len) override;
void DoWriteC(char c) override;