mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -29,7 +29,7 @@ DwarfInfo::DwarfInfo(ELF::Image const& elf)
|
|||
populate_compilation_units();
|
||||
}
|
||||
|
||||
ReadonlyBytes DwarfInfo::section_data(StringView const& section_name) const
|
||||
ReadonlyBytes DwarfInfo::section_data(StringView section_name) const
|
||||
{
|
||||
auto section = m_elf.lookup_section(section_name);
|
||||
if (!section.has_value())
|
||||
|
|
|
@ -53,7 +53,7 @@ private:
|
|||
void populate_compilation_units();
|
||||
void build_cached_dies() const;
|
||||
|
||||
ReadonlyBytes section_data(StringView const& section_name) const;
|
||||
ReadonlyBytes section_data(StringView section_name) const;
|
||||
|
||||
ELF::Image const& m_elf;
|
||||
ReadonlyBytes m_debug_info_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue