Skip to content

Commit

Permalink
Remove unused binary search function
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Mar 28, 2024
1 parent df9c2d6 commit 232e316
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/idlist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ class idlist_t

osmid_t operator[](std::size_t n) const noexcept { return m_list[n]; }

bool get_binary_search(osmid_t id) const noexcept
{
return std::binary_search(m_list.cbegin(), m_list.cend(), id);
}

void clear() { m_list.clear(); }

void push_back(osmid_t id) { m_list.push_back(id); }
Expand Down

0 comments on commit 232e316

Please sign in to comment.