aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object/MachO.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Object/MachO.h')
-rw-r--r--include/llvm/Object/MachO.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h
index 1aae85ab36..1e409b2856 100644
--- a/include/llvm/Object/MachO.h
+++ b/include/llvm/Object/MachO.h
@@ -47,7 +47,7 @@ public:
MachOObject *getObject() { return MachOObj; }
static inline bool classof(const Binary *v) {
- return v->getType() == isMachO;
+ return v->isMachO();
}
static inline bool classof(const MachOObjectFile *v) { return true; }