aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/tempbuf.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/stream/tempbuf.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/stream/tempbuf.h')
-rw-r--r--util/stream/tempbuf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/stream/tempbuf.h b/util/stream/tempbuf.h
index 71a2a08d84..a6dc001025 100644
--- a/util/stream/tempbuf.h
+++ b/util/stream/tempbuf.h
@@ -5,9 +5,9 @@
#include <util/memory/tempbuf.h>
class TTempBufOutput: public IOutputStream, public TTempBuf {
-public:
+public:
inline TTempBufOutput() = default;
-
+
explicit TTempBufOutput(size_t size)
: TTempBuf(size)
{
@@ -15,7 +15,7 @@ public:
TTempBufOutput(TTempBufOutput&&) noexcept = default;
TTempBufOutput& operator=(TTempBufOutput&&) noexcept = default;
-
+
protected:
void DoWrite(const void* data, size_t len) override;
};