aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs/core/codecs.h
diff options
context:
space:
mode:
authorMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-11-13 16:32:39 +0300
committerMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-11-13 16:32:39 +0300
commit23387aafadce23ea77beffb2981e8c0e2f2a7f0a (patch)
tree54b0f95fca1ad03d93f5a18abdfe98e8ab34b420 /library/cpp/blockcodecs/core/codecs.h
parentee51155da394b56a8e3329d25a514422e5da7bc3 (diff)
parent4ab23311f7a6d45ac318179569df9ba46fb9ab68 (diff)
downloadydb-23387aafadce23ea77beffb2981e8c0e2f2a7f0a.tar.gz
Merge branch 'rightlib' into mergelibs-yurchuk-manual
Diffstat (limited to 'library/cpp/blockcodecs/core/codecs.h')
-rw-r--r--library/cpp/blockcodecs/core/codecs.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/library/cpp/blockcodecs/core/codecs.h b/library/cpp/blockcodecs/core/codecs.h
index 6512abddefc..61efc04744a 100644
--- a/library/cpp/blockcodecs/core/codecs.h
+++ b/library/cpp/blockcodecs/core/codecs.h
@@ -26,13 +26,14 @@ namespace NBlockCodecs {
{
}
- template <>
- inline TData(const TString& t)
- : TStringBuf((const char*)t.data(), t.size())
- {
- }
};
+ template <>
+ inline TData::TData(const TString& t)
+ : TStringBuf((const char*)t.data(), t.size())
+ {
+ }
+
struct TCodecError: public yexception {
};