diff options
author | Jiyong Park <jiyong@google.com> | 2018-11-22 20:38:05 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2018-11-27 18:00:39 +0900 |
commit | 69c0f11da7a6009b89197c34aab5e51f19358eb0 (patch) | |
tree | 5d1e3a6fc3c7a172f7dfa2e89c9b87d621704925 /apexer/apexer.py | |
parent | 0a2126459672cd6d1441376082525a048da48210 (diff) |
ApexFile and ApexManifest share the lifecycle
ApexManifest becomes a member of ApexFile. ApexManifest is parsed when
ApexFile is opened. Also this change removes unique_ptr from the two
classes. ApexFile::Open returns StatusOr<ApexFile> instead of
StatusOr<unique_ptr<ApexFile>>, which requested us to do the
double-dereferencing to use the ApexFile object.
Test: atest apexservice_test
Change-Id: Ic1eb685a4f920191bb4816e0c3f1efc9cc6e2d38
Diffstat (limited to 'apexer/apexer.py')
0 files changed, 0 insertions, 0 deletions