diff options
Diffstat (limited to 'tools/aapt2/ResourceTable.h')
-rw-r--r-- | tools/aapt2/ResourceTable.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/aapt2/ResourceTable.h b/tools/aapt2/ResourceTable.h index a00c14276aa4..60fed2f0e26b 100644 --- a/tools/aapt2/ResourceTable.h +++ b/tools/aapt2/ResourceTable.h @@ -176,9 +176,9 @@ public: bool markPublicAllowMangled(const ResourceNameRef& name, const ResourceId resId, const Source& source, IDiagnostics* diag); struct SearchResult { - ResourceTablePackage* package; - ResourceTableType* type; - ResourceEntry* entry; + ResourceTablePackage* package; + ResourceTableType* type; + ResourceEntry* entry; }; Maybe<SearchResult> findResource(const ResourceNameRef& name); @@ -208,7 +208,7 @@ public: ResourceTablePackage* findPackageById(uint8_t id); - ResourceTablePackage* createPackage(const StringPiece16& name, uint8_t id); + ResourceTablePackage* createPackage(const StringPiece16& name, Maybe<uint8_t> id = {}); private: ResourceTablePackage* findOrCreatePackage(const StringPiece16& name); |