summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/compact_containers/compact_flat_map.h
diff options
context:
space:
mode:
authordgolear <[email protected]>2025-07-10 22:33:21 +0300
committerdgolear <[email protected]>2025-07-10 22:56:45 +0300
commit5f7c8cead6f7a3f7bea3f01cb168eb1f7a926879 (patch)
tree96517df0eaef6d7553ad127257902f0ff0707e4a /library/cpp/yt/compact_containers/compact_flat_map.h
parent612146bc655489da23249308c666ca9eb2ef6509 (diff)
YT: Allow serializing TCompactSet
commit_hash:733610a293a0c3a2656dbef77630d359c16d3bdf
Diffstat (limited to 'library/cpp/yt/compact_containers/compact_flat_map.h')
-rw-r--r--library/cpp/yt/compact_containers/compact_flat_map.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/library/cpp/yt/compact_containers/compact_flat_map.h b/library/cpp/yt/compact_containers/compact_flat_map.h
index 49c8628c46c..65e3f2bff4b 100644
--- a/library/cpp/yt/compact_containers/compact_flat_map.h
+++ b/library/cpp/yt/compact_containers/compact_flat_map.h
@@ -61,8 +61,7 @@ public:
TCompactFlatMap(std::initializer_list<value_type> values);
- bool operator==(const TCompactFlatMap& rhs) const;
- bool operator!=(const TCompactFlatMap& rhs) const;
+ bool operator==(const TCompactFlatMap& rhs) const = default;
iterator begin();
const_iterator begin() const;
@@ -122,7 +121,7 @@ private:
TStorage Storage_;
template <class TArg>
- std::pair<iterator, bool> do_insert(TArg&& value);
+ std::pair<iterator, bool> DoInsert(TArg&& value);
};
////////////////////////////////////////////////////////////////////////////////