aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/comptrie
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/containers/comptrie
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie')
-rw-r--r--library/cpp/containers/comptrie/comptrie_ut.cpp2
-rw-r--r--library/cpp/containers/comptrie/key_selector.h2
-rw-r--r--library/cpp/containers/comptrie/protopacker.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/containers/comptrie/comptrie_ut.cpp b/library/cpp/containers/comptrie/comptrie_ut.cpp
index 0ae4bc3a83..74bee09b5d 100644
--- a/library/cpp/containers/comptrie/comptrie_ut.cpp
+++ b/library/cpp/containers/comptrie/comptrie_ut.cpp
@@ -1296,7 +1296,7 @@ void TCompactTrieTest::TestFindLongestPrefixWithEmptyValue() {
template <typename TChar>
struct TConvertKey {
static inline TString Convert(const TStringBuf& key) {
- return ToString(key);
+ return ToString(key);
}
};
diff --git a/library/cpp/containers/comptrie/key_selector.h b/library/cpp/containers/comptrie/key_selector.h
index f156d6a909..60466cef71 100644
--- a/library/cpp/containers/comptrie/key_selector.h
+++ b/library/cpp/containers/comptrie/key_selector.h
@@ -12,7 +12,7 @@ struct TCompactTrieKeySelector {
template <class TChar>
struct TCompactTrieCharKeySelector {
- typedef TBasicString<TChar> TKey;
+ typedef TBasicString<TChar> TKey;
typedef TBasicStringBuf<TChar> TKeyBuf;
};
diff --git a/library/cpp/containers/comptrie/protopacker.h b/library/cpp/containers/comptrie/protopacker.h
index 038c870528..3e15866dc5 100644
--- a/library/cpp/containers/comptrie/protopacker.h
+++ b/library/cpp/containers/comptrie/protopacker.h
@@ -10,12 +10,12 @@ public:
void UnpackLeaf(const char* p, Proto& entry) const {
TMemoryInput in(p + sizeof(ui32), SkipLeaf(p) - sizeof(ui32));
- entry.ParseFromArcadiaStream(&in);
+ entry.ParseFromArcadiaStream(&in);
}
void PackLeaf(char* p, const Proto& entry, size_t size) const {
TMemoryOutput out(p, size + sizeof(ui32));
Save<ui32>(&out, size);
- entry.SerializeToArcadiaStream(&out);
+ entry.SerializeToArcadiaStream(&out);
}
size_t MeasureLeaf(const Proto& entry) const {
return entry.ByteSize() + sizeof(ui32);