From: Jay Freeman (saurik) Date: Sat, 22 Oct 2011 14:13:41 +0000 (-0700) Subject: Add a -> operator to FatHeader for parity. X-Git-Tag: v1.1.0~18 X-Git-Url: https://git.cameronkatri.com/ldid.git/commitdiff_plain/6b38c1732a783374afe0172548107ea7e95402b7 Add a -> operator to FatHeader for parity. --- diff --git a/ldid.cpp b/ldid.cpp index db72db8..4982582 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -513,6 +513,10 @@ class FatHeader : bool IsFat() const { return fat_header_ != NULL; } + + struct fat_header *operator ->() const { + return fat_header_; + } }; FatHeader Map(const char *path) {