]> git.saurik.com Git - ldid.git/commitdiff
Add a -> operator to FatHeader for parity.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 22 Oct 2011 14:13:41 +0000 (07:13 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 22 Oct 2011 14:13:41 +0000 (07:13 -0700)
ldid.cpp

index db72db8268ce478856b1c61a90b14f73506c1a40..4982582a8606db91c8a11662de341f74aac15649 100644 (file)
--- 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) {