Browse Source

LibSQL: Remove unused method `Heap::has_block`

Jelle Raaijmakers 2 years ago
parent
commit
e5e00a682b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Userland/Libraries/LibSQL/Heap.h

+ 0 - 1
Userland/Libraries/LibSQL/Heap.h

@@ -39,7 +39,6 @@ public:
     u32 size() const { return m_end_of_file; }
     ErrorOr<ByteBuffer> read_block(u32);
     [[nodiscard]] u32 new_record_pointer();
-    [[nodiscard]] bool has_block(u32 block) const { return block < size(); }
     [[nodiscard]] bool valid() const { return static_cast<bool>(m_file); }
 
     u32 schemas_root() const { return m_schemas_root; }