summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Aboy Solanes <solanes@google.com>2024-02-13 16:20:28 +0000
committerTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-02-13 18:32:01 +0000
commit3a0f1f437f620e5a894a2898ec5d2f941710131a (patch)
treed49e0e5a5544b5692486a0d85a8f44280112db3a
parent0d5dbf73461556afcd6e1a7e1109199d0fc16887 (diff)
downloadart-3a0f1f437f620e5a894a2898ec5d2f941710131a.tar.gz
Reorder isa and dexPath to solve reorder-init-list warning
ISO C++ requires field designators to be specified in declaration order. Definition is in art/RuntimeArtifactsPath.aidl. Test: build locally and don't see the warning Change-Id: I3ba6f457b14ebe6e277195b0c9d0cacba1a7bf53
-rw-r--r--artd/artd_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/artd/artd_test.cc b/artd/artd_test.cc
index 79fa7cd4e1..8a704464ea 100644
--- a/artd/artd_test.cc
+++ b/artd/artd_test.cc
@@ -2200,7 +2200,7 @@ TEST_F(ArtdTest, cleanup) {
},
{
RuntimeArtifactsPath{
- .packageName = "com.android.foo", .isa = "arm64", .dexPath = "/a/b/base.apk"},
+ .packageName = "com.android.foo", .dexPath = "/a/b/base.apk", .isa = "arm64"},
},
&aidl_return)
.isOk());