aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/greedy_dict/gd_builder.cpp
diff options
context:
space:
mode:
authortimestep <timestep@yandex-team.ru>2022-02-10 16:49:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:17 +0300
commit30f4921b0fa8722e5531e72cb40a93b526f6973a (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/codecs/greedy_dict/gd_builder.cpp
parent38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (diff)
downloadydb-30f4921b0fa8722e5531e72cb40a93b526f6973a.tar.gz
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/codecs/greedy_dict/gd_builder.cpp')
-rw-r--r--library/cpp/codecs/greedy_dict/gd_builder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/codecs/greedy_dict/gd_builder.cpp b/library/cpp/codecs/greedy_dict/gd_builder.cpp
index 11072e889d..561bfbca01 100644
--- a/library/cpp/codecs/greedy_dict/gd_builder.cpp
+++ b/library/cpp/codecs/greedy_dict/gd_builder.cpp
@@ -11,7 +11,7 @@
namespace NGreedyDict {
void TDictBuilder::RebuildCounts(ui32 maxcand, bool final) {
if (!Current) {
- Current = MakeHolder<TEntrySet>();
+ Current = MakeHolder<TEntrySet>();
Current->InitWithAlpha();
}
@@ -24,7 +24,7 @@ namespace NGreedyDict {
CompoundCountsPool.Clear();
if (!final) {
- CompoundCounts = MakeHolder<TCompoundCounts>(&CompoundCountsPool);
+ CompoundCounts = MakeHolder<TCompoundCounts>(&CompoundCountsPool);
CompoundCounts->reserve(maxcand);
}