summaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/flat_hash
diff options
context:
space:
mode:
authorOleg Sidorkin <[email protected]>2022-02-10 16:49:36 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:36 +0300
commitf8f6804a3e352897afabc93afcb32081e3fca601 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/containers/flat_hash
parent5ce74d4fee2d42a4b86efc02dfdc704d458760e1 (diff)
Restoring authorship annotation for Oleg Sidorkin <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/flat_hash')
-rw-r--r--library/cpp/containers/flat_hash/flat_hash.h2
-rw-r--r--library/cpp/containers/flat_hash/lib/iterator.h8
-rw-r--r--library/cpp/containers/flat_hash/lib/map.h22
3 files changed, 16 insertions, 16 deletions
diff --git a/library/cpp/containers/flat_hash/flat_hash.h b/library/cpp/containers/flat_hash/flat_hash.h
index 0fad098a592..582b8ae8f5d 100644
--- a/library/cpp/containers/flat_hash/flat_hash.h
+++ b/library/cpp/containers/flat_hash/flat_hash.h
@@ -42,7 +42,7 @@ using TDenseHashSetImpl =
namespace NFH {
-/* flat_map: Fast and highly customizable hash map.
+/* flat_map: Fast and highly customizable hash map.
*
* Most features would be available soon.
* Until that time we strongly insist on using only class aliases listed below.
diff --git a/library/cpp/containers/flat_hash/lib/iterator.h b/library/cpp/containers/flat_hash/lib/iterator.h
index bec518481bc..f6b1e74355d 100644
--- a/library/cpp/containers/flat_hash/lib/iterator.h
+++ b/library/cpp/containers/flat_hash/lib/iterator.h
@@ -65,10 +65,10 @@ public:
return &Cont_->Node(Idx_);
}
- const pointer operator->() const {
- return &Cont_->Node(Idx_);
- }
-
+ const pointer operator->() const {
+ return &Cont_->Node(Idx_);
+ }
+
bool operator==(const TIterator& rhs) const noexcept {
Y_ASSERT(Cont_ == rhs.Cont_);
return Idx_ == rhs.Idx_;
diff --git a/library/cpp/containers/flat_hash/lib/map.h b/library/cpp/containers/flat_hash/lib/map.h
index 42fa0dda35c..f77c318a615 100644
--- a/library/cpp/containers/flat_hash/lib/map.h
+++ b/library/cpp/containers/flat_hash/lib/map.h
@@ -4,8 +4,8 @@
#include "concepts/iterator.h"
#include <util/generic/algorithm.h>
-#include <util/generic/mapfindptr.h>
-
+#include <util/generic/mapfindptr.h>
+
namespace NFlatHash {
namespace NPrivate {
@@ -34,15 +34,15 @@ class TMap : private TTable<Hash,
NPrivate::TMapKeyGetter,
Probing,
SizeFitter,
- Expander>,
- public TMapOps<TMap<Key,
- T,
- Hash,
- KeyEqual,
- Container,
- Probing,
- SizeFitter,
- Expander>>
+ Expander>,
+ public TMapOps<TMap<Key,
+ T,
+ Hash,
+ KeyEqual,
+ Container,
+ Probing,
+ SizeFitter,
+ Expander>>
{
private:
using TBase = TTable<Hash,