diff options
author | danlark <[email protected]> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/containers/comptrie/chunked_helpers_trie.h | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie/chunked_helpers_trie.h')
-rw-r--r-- | library/cpp/containers/comptrie/chunked_helpers_trie.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/containers/comptrie/chunked_helpers_trie.h b/library/cpp/containers/comptrie/chunked_helpers_trie.h index c95cee23221..cfa35f5ba2a 100644 --- a/library/cpp/containers/comptrie/chunked_helpers_trie.h +++ b/library/cpp/containers/comptrie/chunked_helpers_trie.h @@ -36,7 +36,7 @@ public: void Add(const char* key, size_t keylen) { Builder.Add(key, keylen, 0); - assert(Has(((TString)key).substr(0, keylen).data())); + assert(Has(((TString)key).substr(0, keylen).data())); } void Add(const char* key) { @@ -195,7 +195,7 @@ public: Sort(Values.begin(), Values.end()); TTrieMapWriter<T, true> writer; for (typename TValues::const_iterator toValue = Values.begin(); toValue != Values.end(); ++toValue) - writer.Add(toValue->first.data(), toValue->second); + writer.Add(toValue->first.data(), toValue->second); writer.Save(out); } |