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

Commit 6634c174 authored by zijunzhao's avatar zijunzhao
Browse files

Fix the missing std

Bug: b/239662094
Test: enable Wunqualified-std-cast-call locally and run m to build
Change-Id: I203af8dbbbf1d889b9fc5efd5b62fa165ee09dc2
parent 396b107a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ void spawnThreads(FuzzedDataProvider* dataProvider) {
                dataProvider->ConsumeRandomLengthString(MAX_NAME_SIZE).append(std::to_string(i));
        std::thread th = std::thread(loop);
        pthread_setname_np(th.native_handle(), threadName.c_str());
        threads.push_back(move(th));
        threads.push_back(std::move(th));
    }

    // Collect thread information
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ void spawnThreads(FuzzedDataProvider* dataProvider) {
        uint8_t opCount = dataProvider->ConsumeIntegralInRange<uint8_t>(1, kMaxOperations);
        std::vector<uint8_t> threadOperations = dataProvider->ConsumeBytes<uint8_t>(opCount);
        std::thread tmpThread = std::thread(loop, threadOperations);
        threads.push_back(move(tmpThread));
        threads.push_back(std::move(tmpThread));
    }

    for (auto& th : threads) {