diff options
author | Bernie Innocenti <codewiz@google.com> | 2020-02-06 22:01:51 +0900 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2020-02-09 03:59:07 +0900 |
commit | d04d5d0790feac25d86c1031036da3787c4f0307 (patch) | |
tree | 4228455ad51823fa7324a8fb33029708f77ad213 /apexd/apex_manifest.cpp | |
parent | f2989addaf762b252d80eb2bc479fa3e649f8278 (diff) |
Convert system/apex to Result::ok()
No functionality changes, this is a mechanical cleanup.
Test: cd system/apexd && m
Change-Id: I479084b9d1101b86c2e8d7ed631feba3edcedd8e
Diffstat (limited to 'apexd/apex_manifest.cpp')
-rw-r--r-- | apexd/apex_manifest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apexd/apex_manifest.cpp b/apexd/apex_manifest.cpp index 76b484b..af3bfb8 100644 --- a/apexd/apex_manifest.cpp +++ b/apexd/apex_manifest.cpp @@ -52,7 +52,7 @@ Result<ApexManifest> ParseManifestJson(const std::string& content) { ApexManifest apex_manifest; Result<void> parse_manifest_status = JsonToApexManifestMessage(content, &apex_manifest); - if (!parse_manifest_status) { + if (!parse_manifest_status.ok()) { return parse_manifest_status.error(); } |