mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +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,9 +14,14 @@
|
|||
|
||||
namespace SQL {
|
||||
|
||||
Heap::Heap(DeprecatedString file_name)
|
||||
ErrorOr<NonnullRefPtr<Heap>> Heap::create(DeprecatedString file_name)
|
||||
{
|
||||
return adopt_nonnull_ref_or_enomem(new (nothrow) Heap(move(file_name)));
|
||||
}
|
||||
|
||||
Heap::Heap(DeprecatedString file_name)
|
||||
: m_name(move(file_name))
|
||||
{
|
||||
set_name(move(file_name));
|
||||
}
|
||||
|
||||
Heap::~Heap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue