aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/streams
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/streams
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/streams')
-rw-r--r--library/cpp/streams/lz/lz.cpp2
-rw-r--r--library/cpp/streams/zstd/zstd.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/streams/lz/lz.cpp b/library/cpp/streams/lz/lz.cpp
index 82b7b33248..b65bb3ed96 100644
--- a/library/cpp/streams/lz/lz.cpp
+++ b/library/cpp/streams/lz/lz.cpp
@@ -180,7 +180,7 @@ class TDecompressorBaseImpl: public TDecompressor, public TCommonData {
public:
static inline ui32 CheckVer(ui32 v) {
if (v != 1) {
- ythrow yexception() << TStringBuf("incorrect stream version: ") << v;
+ ythrow yexception() << TStringBuf("incorrect stream version: ") << v;
}
return v;
diff --git a/library/cpp/streams/zstd/zstd.cpp b/library/cpp/streams/zstd/zstd.cpp
index 45fad9f5c5..29816f6d4c 100644
--- a/library/cpp/streams/zstd/zstd.cpp
+++ b/library/cpp/streams/zstd/zstd.cpp
@@ -9,7 +9,7 @@
namespace {
inline void CheckError(const char* op, size_t code) {
if (::ZSTD_isError(code)) {
- ythrow yexception() << op << TStringBuf(" zstd error: ") << ::ZSTD_getErrorName(code);
+ ythrow yexception() << op << TStringBuf(" zstd error: ") << ::ZSTD_getErrorName(code);
}
}