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:
Dan Klishch 2024-04-18 15:32:56 -04:00 committed by Tim Flynn
commit 5ed7cd6e32
Notes: sideshowbarker 2024-07-16 23:38:54 +09:00
175 changed files with 353 additions and 353 deletions

View file

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