1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:37:46 +00:00

Everywhere: "file name" => "filename"

This commit is contained in:
Andreas Kling 2021-04-29 21:46:15 +02:00
parent def1f1444a
commit 7ae7170d61
59 changed files with 181 additions and 181 deletions

View file

@ -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()));

View file

@ -53,7 +53,7 @@ struct Class {
class Database : public RefCounted<Database> {
public:
static RefPtr<Database> open(const String& file_name);
static RefPtr<Database> open(const String& filename);
static RefPtr<Database> open() { return open("/res/pci.ids"); };
const StringView get_vendor(u16 vendor_id) const;