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

Commit fceda70a authored by Nick Desaulniers's avatar Nick Desaulniers
Browse files

statsd: fix -Wreorder-init-list



C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: lunch flame-userdebug && mm
Change-Id: I8260ee03b0e6d98fdbe42ebf38bbc9f216303efe
Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
parent f10083e2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -499,8 +499,9 @@ void StatsPullerManager::RegisterPullAtomCallback(const int uid, const int32_t a
    StatsdStats::getInstance().notePullerCallbackRegistrationChanged(atomTag, /*registered=*/true);
    kAllPullAtomInfo[{.atomTag = atomTag}] = {.additiveFields = additiveFields,
                                              .coolDownNs = coolDownNs,
                                              .puller = new StatsCallbackPuller(atomTag, callback),
                                              .pullTimeoutNs = timeoutNs,
                                              .puller = new StatsCallbackPuller(atomTag, callback)};
    };
}

void StatsPullerManager::UnregisterPullerCallback(int32_t atomTag) {