mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-17 00:23:00 +00:00
LibCore: Make it possible to pass a parent to CFile constructors
This commit is contained in:
parent
dc572e31fa
commit
8aa3b74f80
Notes:
sideshowbarker
2024-07-19 12:36:49 +09:00
Author: https://github.com/awesomekling
Commit: 8aa3b74f80
2 changed files with 8 additions and 4 deletions
|
@ -4,8 +4,9 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
CFile::CFile(const StringView& filename)
|
||||
: m_filename(filename)
|
||||
CFile::CFile(const StringView& filename, CObject* parent)
|
||||
: CIODevice(parent)
|
||||
, m_filename(filename)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue