From 6b38c1732a783374afe0172548107ea7e95402b7 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 22 Oct 2011 07:13:41 -0700 Subject: [PATCH] Add a -> operator to FatHeader for parity. --- ldid.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.45.2