aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/solar_codec.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/codecs/solar_codec.cpp
parent8b94a751187ed4a463b7f37023098505492d4574 (diff)
downloadydb-9ad2894d3a432775a19303a5e8b7a79092017963.tar.gz
Remove Size, Empty and Data usages from library
commit_hash:ef5ad4cfa9e68bbfc586492e8c376c732d0a48af
Diffstat (limited to 'library/cpp/codecs/solar_codec.cpp')
-rw-r--r--library/cpp/codecs/solar_codec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/codecs/solar_codec.cpp b/library/cpp/codecs/solar_codec.cpp
index 916bbbd5d1..f894b89ada 100644
--- a/library/cpp/codecs/solar_codec.cpp
+++ b/library/cpp/codecs/solar_codec.cpp
@@ -49,7 +49,7 @@ namespace NCodecs {
tmp.reserve(set->size());
for (const auto& it : *set) {
- Y_ENSURE(it.Str.Size() <= maxlen);
+ Y_ENSURE(it.Str.size() <= maxlen);
tmp.push_back(std::make_pair(-it.Score, it.Str));
}