aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/yson_string/string.cpp
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-10-04 09:58:47 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-10-04 10:14:38 +0300
commit9ad2894d3a432775a19303a5e8b7a79092017963 (patch)
tree5e53ebb5a41c45938a332cb8f13ed320047411b5 /library/cpp/yt/yson_string/string.cpp
parent8b94a751187ed4a463b7f37023098505492d4574 (diff)
downloadydb-9ad2894d3a432775a19303a5e8b7a79092017963.tar.gz
Remove Size, Empty and Data usages from library
commit_hash:ef5ad4cfa9e68bbfc586492e8c376c732d0a48af
Diffstat (limited to 'library/cpp/yt/yson_string/string.cpp')
-rw-r--r--library/cpp/yt/yson_string/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/yson_string/string.cpp b/library/cpp/yt/yson_string/string.cpp
index ed2990a51b..45a6aa7f09 100644
--- a/library/cpp/yt/yson_string/string.cpp
+++ b/library/cpp/yt/yson_string/string.cpp
@@ -75,7 +75,7 @@ TYsonString::TYsonString(const TYsonStringBuf& ysonStringBuf)
auto holder = NDetail::TYsonStringHolder::Allocate(data.length());
::memcpy(holder->GetData(), data.data(), data.length());
Begin_ = holder->GetData();
- Size_ = data.Size();
+ Size_ = data.size();
Type_ = ysonStringBuf.GetType();
Payload_ = std::move(holder);
} else {