diff options
author | Itamar <itamar8910@gmail.com> | 2021-06-19 15:33:03 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-19 14:51:18 +0200 |
commit | 3a4017b419828f289668afebe358a7f486412b99 (patch) | |
tree | 6936e7c7ac4fed00d761a3a6c99e20a9ece68a76 /Userland/Libraries/LibDebug/Dwarf/CompilationUnit.h | |
parent | 03ef2a479a121cef5de5ca33792f4cf997e6ee71 (diff) | |
download | serenity-3a4017b419828f289668afebe358a7f486412b99.zip |
LibDebug: Convert LibDebug to east-const style
Diffstat (limited to 'Userland/Libraries/LibDebug/Dwarf/CompilationUnit.h')
-rw-r--r-- | Userland/Libraries/LibDebug/Dwarf/CompilationUnit.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/CompilationUnit.h b/Userland/Libraries/LibDebug/Dwarf/CompilationUnit.h index 47e715e3cd..5acb1a2088 100644 --- a/Userland/Libraries/LibDebug/Dwarf/CompilationUnit.h +++ b/Userland/Libraries/LibDebug/Dwarf/CompilationUnit.h @@ -23,7 +23,7 @@ class CompilationUnit { AK_MAKE_NONMOVABLE(CompilationUnit); public: - CompilationUnit(const DwarfInfo& dwarf_info, u32 offset, const CompilationUnitHeader&, NonnullOwnPtr<LineProgram>&& line_program); + CompilationUnit(DwarfInfo const& dwarf_info, u32 offset, CompilationUnitHeader const&, NonnullOwnPtr<LineProgram>&& line_program); u32 offset() const { return m_offset; } u32 size() const { return m_header.length() + sizeof(u32); } @@ -31,12 +31,12 @@ public: DIE root_die() const; DIE get_die_at_offset(u32 offset) const; - const DwarfInfo& dwarf_info() const { return m_dwarf_info; } - const AbbreviationsMap& abbreviations_map() const { return m_abbreviations; } - const LineProgram& line_program() const { return *m_line_program; } + DwarfInfo const& dwarf_info() const { return m_dwarf_info; } + AbbreviationsMap const& abbreviations_map() const { return m_abbreviations; } + LineProgram const& line_program() const { return *m_line_program; } private: - const DwarfInfo& m_dwarf_info; + DwarfInfo const& m_dwarf_info; u32 m_offset { 0 }; CompilationUnitHeader m_header; AbbreviationsMap m_abbreviations; |