mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibSQL: Remove superfluous VERIFY
s for Vector
accessing
Remove some `[]` operators' out-of-bounds checks which are already performed by the underlying `Vector`.
This commit is contained in:
parent
234bc0c237
commit
0460a654d4
4 changed files with 3 additions and 23 deletions
|
@ -67,7 +67,7 @@ public:
|
|||
[[nodiscard]] TreeNode* down_node(size_t);
|
||||
[[nodiscard]] bool is_leaf() const { return m_is_leaf; }
|
||||
|
||||
Key const& operator[](size_t) const;
|
||||
Key const& operator[](size_t index) const { return m_entries[index]; }
|
||||
bool insert(Key const&);
|
||||
bool update_key_pointer(Key const&);
|
||||
TreeNode* node_for(Key const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue