From 668c687d6842eebe44382e7b95f86b2a3855055c Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 22 Dec 2025 00:46:56 -0800 Subject: [PATCH] remove unused argument --- src/HTTPServer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTTPServer.cc b/src/HTTPServer.cc index 31254368..6d2cd16d 100644 --- a/src/HTTPServer.cc +++ b/src/HTTPServer.cc @@ -661,7 +661,7 @@ HTTPServer::HTTPServer(shared_ptr state) } }); - this->router.add(HTTPRequest::Method::GET, "/y/data/ep3/maps", [this](ArgsT&& args) -> RetT { + this->router.add(HTTPRequest::Method::GET, "/y/data/ep3/maps", [this](ArgsT&&) -> RetT { co_return co_await call_on_thread_pool(*this->state->thread_pool, [&]() -> shared_ptr { auto ret = make_shared(phosg::JSON::dict()); for (const auto& [map_number, map] : this->state->ep3_map_index->all_maps()) {