Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jul 19, 2024
1 parent ad22d4b commit caf0e27
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions exe/backend/src/http_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,6 @@ struct http_server::impl {
}
}

template <typename Profile>
dijkstra<Profile>& get_dijkstra() {
static auto s = boost::thread_specific_ptr<dijkstra<Profile>>{};
if (s.get() == nullptr) {
s.reset(new dijkstra<Profile>{});
}
return *s.get();
}

static search_profile get_search_profile_from_request(
boost::json::object const& q) {
auto const profile_it = q.find("profile");
Expand Down

0 comments on commit caf0e27

Please sign in to comment.