diff options
-rw-r--r-- | Cytore.hpp | 7 | ||||
-rw-r--r-- | MobileCydia.mm | 2 |
2 files changed, 4 insertions, 5 deletions
@@ -52,9 +52,6 @@ struct Header { uint32_t reserved_; }; -struct Block { -}; - template <typename Target_> class Offset { private: @@ -85,6 +82,10 @@ class Offset { } }; +struct Block { + Cytore::Offset<void> reserved_; +}; + template <typename Type_> static _finline Type_ Round(Type_ value, Type_ size) { Type_ mask(size - 1); diff --git a/MobileCydia.mm b/MobileCydia.mm index 5a09168..9d5c9eb 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1430,7 +1430,6 @@ typedef std::map< unsigned long, _H<Source> > SourceMap; struct PackageValue : Cytore::Block { - Cytore::Offset<void> reserved_; Cytore::Offset<PackageValue> next_; uint32_t index_ : 23; @@ -1450,7 +1449,6 @@ struct PackageValue : struct MetaValue : Cytore::Block { - Cytore::Offset<void> reserved_; Cytore::Offset<PackageValue> packages_[1 << 16]; }; |