Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e059989e authored by Yi Kong's avatar Yi Kong
Browse files

Fix -Wreorder-init-list

frameworks/base/services/incremental/IncrementalService.cpp:2004:29: warning: ISO C++ requires field designators to be specified in declaration order; field 'signature' will be initialized after field 'metadata' [-Wreorder-init-list]
 2004 |                 .metadata = {targetLibPath.c_str(), (IncFsSize)targetLibPath.size()},
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frameworks/base/services/incremental/IncrementalService.cpp:2002:30: note: previous initialization for field 'signature' is here
 2002 |                 .signature = {},
      |                              ^~

Test: presubmit
Change-Id: I7c71ed46f36f30f3bff947e513b6a021d1c61b8c
parent 9c3c7c14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment