From caf0e27111b7b49e3255365d223ef57a02cc920a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20G=C3=BCndling?= Date: Fri, 19 Jul 2024 16:57:32 +0200 Subject: [PATCH] wip --- exe/backend/src/http_server.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/exe/backend/src/http_server.cc b/exe/backend/src/http_server.cc index ded62a1..f14762e 100644 --- a/exe/backend/src/http_server.cc +++ b/exe/backend/src/http_server.cc @@ -92,15 +92,6 @@ struct http_server::impl { } } - template - dijkstra& get_dijkstra() { - static auto s = boost::thread_specific_ptr>{}; - if (s.get() == nullptr) { - s.reset(new dijkstra{}); - } - return *s.get(); - } - static search_profile get_search_profile_from_request( boost::json::object const& q) { auto const profile_it = q.find("profile");