diff options
author | timestep <timestep@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
commit | 38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (patch) | |
tree | 7570cb7cabf97af7ecb6ffe485e8037d516daa29 /library/cpp/codecs | |
parent | a0ffafe83b7d6229709a32fa942c71d672ac989c (diff) | |
download | ydb-38b4bd28ca420294f532ac7ca6b2770d60e3dfd0.tar.gz |
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/codecs')
-rw-r--r-- | library/cpp/codecs/greedy_dict/gd_builder.cpp | 4 |
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 561bfbca01..11072e889d 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); } |