mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +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
Notes:
sideshowbarker
2024-07-17 03:03:15 +09:00
Author: https://github.com/trflynn89
Commit: 4a04438e43
Pull-request: https://github.com/SerenityOS/serenity/pull/20411
Reviewed-by: https://github.com/gmta ✅
7 changed files with 29 additions and 21 deletions
|
@ -16,7 +16,7 @@
|
|||
namespace SQL {
|
||||
|
||||
Database::Database(DeprecatedString name)
|
||||
: m_heap(Heap::construct(move(name)))
|
||||
: m_heap(Heap::create(move(name)).release_value_but_fixme_should_propagate_errors())
|
||||
, m_serializer(m_heap)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue