Skip to content

Commit

Permalink
Fix inline
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Nov 10, 2023
1 parent b113795 commit 3ec79f9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions include/LIEF/MachO/ChainedBindingInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ class LIEF_API ChainedBindingInfo : public BindingInfo {

LIEF_API friend std::ostream& operator<<(std::ostream& os, const ChainedBindingInfo& info);

static bool classof(const BindingInfo& info);

private:
void clear();
enum class BIND_TYPES {
Expand Down
4 changes: 0 additions & 4 deletions include/LIEF/MachO/DyldBindingInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class LIEF_API DyldBindingInfo : public BindingInfo {
return BindingInfo::TYPES::DYLD_INFO;
}


static bool classof(BindingInfo* info) {
return info->type() == BindingInfo::TYPES::DYLD_INFO;
}
Expand All @@ -83,9 +82,6 @@ class LIEF_API DyldBindingInfo : public BindingInfo {
void accept(Visitor& visitor) const override;

LIEF_API friend std::ostream& operator<<(std::ostream& os, const DyldBindingInfo& binding_info);

static bool classof(const BindingInfo& info);

private:
BINDING_CLASS class_ = BINDING_CLASS::BIND_CLASS_STANDARD;
BIND_TYPES binding_type_ = BIND_TYPES::BIND_TYPE_POINTER;
Expand Down
7 changes: 0 additions & 7 deletions src/MachO/ChainedBindingInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ void ChainedBindingInfo::accept(Visitor& visitor) const {
visitor.visit(*this);
}



bool ChainedBindingInfo::classof(const BindingInfo& info) {
return info.type() == BindingInfo::TYPES::CHAINED;
}


uint64_t ChainedBindingInfo::address() const {
return /* imagebase */ address_ + offset_;
}
Expand Down
6 changes: 0 additions & 6 deletions src/MachO/DyldBindingInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ void DyldBindingInfo::accept(Visitor& visitor) const {
visitor.visit(*this);
}



bool DyldBindingInfo::classof(const BindingInfo& info) {
return info.type() == BindingInfo::TYPES::DYLD_INFO;
}

std::ostream& operator<<(std::ostream& os, const DyldBindingInfo& info) {
os << static_cast<const BindingInfo&>(info);
return os;
Expand Down

0 comments on commit 3ec79f9

Please sign in to comment.