mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
Everywhere: "file name" => "filename"
This commit is contained in:
parent
def1f1444a
commit
7ae7170d61
59 changed files with 181 additions and 181 deletions
|
@ -12,9 +12,9 @@
|
|||
|
||||
namespace PCIDB {
|
||||
|
||||
RefPtr<Database> Database::open(const String& file_name)
|
||||
RefPtr<Database> Database::open(const String& filename)
|
||||
{
|
||||
auto file_or_error = MappedFile::map(file_name);
|
||||
auto file_or_error = MappedFile::map(filename);
|
||||
if (file_or_error.is_error())
|
||||
return nullptr;
|
||||
auto res = adopt_ref(*new Database(file_or_error.release_value()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue