From 7812f7ec273c577941844608298c66808daefde5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20G=C3=BCndling?= Date: Thu, 14 Mar 2024 20:19:17 +0100 Subject: [PATCH] silence compiler warnings --- .pkg | 4 ++-- include/tiles/util_parallel.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pkg b/.pkg index 5e7f757..25731ca 100644 --- a/.pkg +++ b/.pkg @@ -9,7 +9,7 @@ [concurrentqueue] url=git@github.com:motis-project/concurrentqueue.git branch=master - commit=ef2227ada6f76cd65e517b7a6e902964443c0ffc + commit=54fdce755d3e52c785d6d9d7d91c94615495868c [conf] url=git@github.com:motis-project/conf.git branch=master @@ -21,7 +21,7 @@ [geo] url=git@github.com:motis-project/geo.git branch=master - commit=5bf5179faf5f21d543866cca85fe090fe3664cc5 + commit=b74f5797c7f1b693b2e8d28a14c0e7836456ff7e [lmdb] url=git@github.com:motis-project/lmdb.git branch=master diff --git a/include/tiles/util_parallel.h b/include/tiles/util_parallel.h index 32b7e07..be27198 100644 --- a/include/tiles/util_parallel.h +++ b/include/tiles/util_parallel.h @@ -85,8 +85,8 @@ struct in_order_queue { } // process ready items - for (auto& t : ready) { - fn(std::move(t.second)); + for (auto& x : ready) { + fn(std::move(x.second)); } { // increment next-expected