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

Commit b64fad91 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the nullptr bug after move operation."

parents d72e3a66 8a0595f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,8 +248,8 @@ void CountMetricProducer::flushCounterIfNeeded(const uint64_t eventTimeNs) {
        proto->write(FIELD_TYPE_INT64 | FIELD_ID_COUNT, (long long)counter.second);

        auto& bucketList = mPastBucketProtos[counter.first];
        bucketList.push_back(std::move(proto));
        mByteSize += proto->size();
        bucketList.push_back(std::move(proto));

        VLOG("metric %lld, dump key value: %s -> %d", mMetric.metric_id(), counter.first.c_str(),
             counter.second);