Skip to content

Commit

Permalink
Fix const-ness
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Feb 24, 2024
1 parent 630929e commit d62d481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/LIEF/MachO/ChainedBindingInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class LIEF_API ChainedBindingInfo : public BindingInfo {
return BindingInfo::TYPES::CHAINED;
}

static bool classof(BindingInfo* info) {
static bool classof(const BindingInfo* info) {
return info->type() == BindingInfo::TYPES::CHAINED;
}

Expand Down
2 changes: 1 addition & 1 deletion include/LIEF/MachO/DyldBindingInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class LIEF_API DyldBindingInfo : public BindingInfo {
return BindingInfo::TYPES::DYLD_INFO;
}

static bool classof(BindingInfo* info) {
static bool classof(const BindingInfo* info) {
return info->type() == BindingInfo::TYPES::DYLD_INFO;
}

Expand Down

0 comments on commit d62d481

Please sign in to comment.