aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/yson_string
diff options
context:
space:
mode:
authorbabenko <babenko@yandex-team.com>2022-08-07 17:29:43 +0300
committerbabenko <babenko@yandex-team.com>2022-08-07 17:29:43 +0300
commite3b2f4c99d645adbb0956e98dd7d38bc01b7db29 (patch)
tree00fcb67e7026e42d4af185a268606e3f5ba95829 /library/cpp/yt/yson_string
parentccc7c68ba2a051861c8d517c87f293368e0b7c7b (diff)
downloadydb-e3b2f4c99d645adbb0956e98dd7d38bc01b7db29.tar.gz
Introduce TSharedMutableRefAllocateOptions
Diffstat (limited to 'library/cpp/yt/yson_string')
-rw-r--r--library/cpp/yt/yson_string/convert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/yson_string/convert.cpp b/library/cpp/yt/yson_string/convert.cpp
index 27f5c30d01..51a646f0ac 100644
--- a/library/cpp/yt/yson_string/convert.cpp
+++ b/library/cpp/yt/yson_string/convert.cpp
@@ -75,7 +75,7 @@ TYsonString ConvertToYsonString<TStringBuf>(const TStringBuf& value)
{
auto buffer = TSharedMutableRef::Allocate<TConvertStringToYsonStringTag>(
1 + MaxVarInt64Size + value.length(),
- /*initializeStorage*/ false);
+ {.InitializeStorage = false});
auto* ptr = buffer.Begin();
*ptr++ = NDetail::StringMarker;
ptr += WriteVarInt64(ptr, static_cast<i64>(value.length()));