diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
commit | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch) | |
tree | 26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/containers/comptrie/comptrie_builder.h | |
parent | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff) | |
download | ydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie/comptrie_builder.h')
-rw-r--r-- | library/cpp/containers/comptrie/comptrie_builder.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/containers/comptrie/comptrie_builder.h b/library/cpp/containers/comptrie/comptrie_builder.h index cf7d2e39a3..bc7068faa0 100644 --- a/library/cpp/containers/comptrie/comptrie_builder.h +++ b/library/cpp/containers/comptrie/comptrie_builder.h @@ -52,7 +52,7 @@ public: bool Add(const TSymbol* key, size_t keylen, const TData& value); bool Add(const TKeyBuf& key, const TData& value) { - return Add(key.data(), key.size(), value); + return Add(key.data(), key.size(), value); } // add already serialized data @@ -63,22 +63,22 @@ public: bool AddSubtreeInFile(const TSymbol* key, size_t keylen, const TString& filename); bool AddSubtreeInFile(const TKeyBuf& key, const TString& filename) { - return AddSubtreeInFile(key.data(), key.size(), filename); + return AddSubtreeInFile(key.data(), key.size(), filename); } bool AddSubtreeInBuffer(const TSymbol* key, size_t keylen, TArrayWithSizeHolder<char>&& buffer); bool AddSubtreeInBuffer(const TKeyBuf& key, TArrayWithSizeHolder<char>&& buffer) { - return AddSubtreeInBuffer(key.data(), key.size(), std::move(buffer)); + return AddSubtreeInBuffer(key.data(), key.size(), std::move(buffer)); } bool Find(const TSymbol* key, size_t keylen, TData* value) const; bool Find(const TKeyBuf& key, TData* value = nullptr) const { - return Find(key.data(), key.size(), value); + return Find(key.data(), key.size(), value); } bool FindLongestPrefix(const TSymbol* key, size_t keylen, size_t* prefixLen, TData* value = nullptr) const; bool FindLongestPrefix(const TKeyBuf& key, size_t* prefixLen, TData* value = nullptr) const { - return FindLongestPrefix(key.data(), key.size(), prefixLen, value); + return FindLongestPrefix(key.data(), key.size(), prefixLen, value); } size_t Save(IOutputStream& os) const; |