Simplify std::fill with std::array::fill

This commit is contained in:
mitaclaw committed 2024-10-09 17:26:10 -07:00
1 parent 7db13d23c9
commit 809766a439
2 files changed
+2 -2

No files matched your search

@@ -47,7 +47,7 @@ private:
std::array<uint32_t, 36 + sizeof...(ExtraMatches)> _conns;
std::optional<V> _val;
TrieEntry() { std::fill(_conns.begin(), _conns.end(), INVALID_CONN); }
TrieEntry() { _conns.fill(INVALID_CONN); }
};
constexpr size_t IndexOf(char c) const