diff options
Diffstat (limited to 'Userland/Libraries/LibDebug/Dwarf/DIE.h')
-rw-r--r-- | Userland/Libraries/LibDebug/Dwarf/DIE.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/DIE.h b/Userland/Libraries/LibDebug/Dwarf/DIE.h index 5ee98c6a29..7062b6f3d5 100644 --- a/Userland/Libraries/LibDebug/Dwarf/DIE.h +++ b/Userland/Libraries/LibDebug/Dwarf/DIE.h @@ -20,23 +20,23 @@ class CompilationUnit; // DIE = Debugging Information Entry class DIE { public: - DIE(const CompilationUnit&, u32 offset, Optional<u32> parent_offset = {}); + DIE(CompilationUnit const&, u32 offset, Optional<u32> parent_offset = {}); u32 offset() const { return m_offset; } u32 size() const { return m_size; } bool has_children() const { return m_has_children; } EntryTag tag() const { return m_tag; } - Optional<AttributeValue> get_attribute(const Attribute&) const; + Optional<AttributeValue> get_attribute(Attribute const&) const; - void for_each_child(Function<void(const DIE& child)> callback) const; + void for_each_child(Function<void(DIE const& child)> callback) const; bool is_null() const { return m_tag == EntryTag::None; } - const CompilationUnit& compilation_unit() const { return m_compilation_unit; } + CompilationUnit const& compilation_unit() const { return m_compilation_unit; } Optional<u32> parent_offset() const { return m_parent_offset; } private: - const CompilationUnit& m_compilation_unit; + CompilationUnit const& m_compilation_unit; u32 m_offset { 0 }; u32 m_data_offset { 0 }; size_t m_abbreviation_code { 0 }; |