mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
Everywhere: Use east const in more places
These changes are compatible with clang-format 16 and will be mandatory when we eventually bump clang-format version. So, since there are no real downsides, let's commit them now.
This commit is contained in:
parent
5ef6df79ed
commit
5ed7cd6e32
Notes:
sideshowbarker
2024-07-16 23:38:54 +09:00
Author: https://github.com/DanShaders
Commit: 5ed7cd6e32
Pull-request: https://github.com/SerenityOS/serenity/pull/24014
175 changed files with 353 additions and 353 deletions
|
@ -55,12 +55,12 @@ public:
|
|||
static RefPtr<Database> open(ByteString const& filename);
|
||||
static RefPtr<Database> open() { return open("/res/usb.ids"); }
|
||||
|
||||
const StringView get_vendor(u16 vendor_id) const;
|
||||
const StringView get_device(u16 vendor_id, u16 device_id) const;
|
||||
const StringView get_interface(u16 vendor_id, u16 device_id, u16 interface_id) const;
|
||||
const StringView get_class(u8 class_id) const;
|
||||
const StringView get_subclass(u8 class_id, u8 subclass_id) const;
|
||||
const StringView get_protocol(u8 class_id, u8 subclass_id, u8 protocol_id) const;
|
||||
StringView const get_vendor(u16 vendor_id) const;
|
||||
StringView const get_device(u16 vendor_id, u16 device_id) const;
|
||||
StringView const get_interface(u16 vendor_id, u16 device_id, u16 interface_id) const;
|
||||
StringView const get_class(u8 class_id) const;
|
||||
StringView const get_subclass(u8 class_id, u8 subclass_id) const;
|
||||
StringView const get_protocol(u8 class_id, u8 subclass_id, u8 protocol_id) const;
|
||||
|
||||
private:
|
||||
explicit Database(NonnullOwnPtr<Core::MappedFile> file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue