mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibSQL: Remove Core::EventReceiver parent from SQL::Heap
This relationship was only used to provide a name and factory methods for the heap.
This commit is contained in:
parent
2c17742811
commit
4a04438e43
7 changed files with 29 additions and 21 deletions
|
@ -14,7 +14,7 @@ static constexpr auto db_path = "/tmp/test.db"sv;
|
|||
|
||||
static NonnullRefPtr<SQL::Heap> create_heap()
|
||||
{
|
||||
auto heap = MUST(SQL::Heap::try_create(db_path));
|
||||
auto heap = MUST(SQL::Heap::create(db_path));
|
||||
MUST(heap->open());
|
||||
return heap;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue