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

Commit 5d93b127 authored by Tom Cherry's avatar Tom Cherry Committed by Gerrit Code Review
Browse files

Merge "init: fix todo in a test"

parents 8489bfb4 3f67fb8e
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -53,11 +53,7 @@ void WriteFromMultipleThreads(std::vector<std::pair<std::string, T>>& files_and_
    };

    std::vector<std::thread> threads;
    // TODO(b/63712782): Structured bindings + templated containers are broken in clang :(
    // for (const auto& [file, parameter] : files_and_parameters) {
    for (const auto& pair : files_and_parameters) {
        const auto& file = pair.first;
        const auto& parameter = pair.second;
    for (const auto& [file, parameter] : files_and_parameters) {
        threads.emplace_back(std::thread(make_thread_function(file, parameter)));
    }